Skip to content

Commit 63fe1f3

Browse files
committed
Fix new clippy lint
1 parent 9664bcc commit 63fe1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omniqueue/src/backends/redis/streams.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ async fn send_to_dlq<R: RedisConnection>(
336336
.await
337337
.map_err(QueueError::generic)?;
338338

339-
let payload = ids.first().take().ok_or_else(|| QueueError::NoData)?;
339+
let payload = ids.first().ok_or_else(|| QueueError::NoData)?;
340340
let payload: Vec<u8> = payload
341341
.map
342342
.get(payload_key)

0 commit comments

Comments
 (0)