Skip to content

Commit

Permalink
Fix new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Jan 9, 2025
1 parent 9664bcc commit 63fe1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omniqueue/src/backends/redis/streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ async fn send_to_dlq<R: RedisConnection>(
.await
.map_err(QueueError::generic)?;

let payload = ids.first().take().ok_or_else(|| QueueError::NoData)?;
let payload = ids.first().ok_or_else(|| QueueError::NoData)?;
let payload: Vec<u8> = payload
.map
.get(payload_key)
Expand Down

0 comments on commit 63fe1f3

Please sign in to comment.