From 1b0f167d2f964a4fa287a30ce0cb8e6d9b9a1d0c Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 15 Feb 2024 10:39:06 +0100 Subject: [fix-cargo-toml] fix cargo warnings in Cargo.toml files --- src/api/signature/streaming.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/signature') diff --git a/src/api/signature/streaming.rs b/src/api/signature/streaming.rs index 39147ca0..a2a71f6b 100644 --- a/src/api/signature/streaming.rs +++ b/src/api/signature/streaming.rs @@ -349,7 +349,7 @@ mod tests { crate::signature::signing_hmac(&datetime, secret_key, region, "s3").unwrap(); let data: &[&[u8]] = &[b"1"]; - let body = futures::stream::iter(data.iter().map(|block| Ok(block.as_ref().into()))); + let body = futures::stream::iter(data.iter().map(|block| Ok(block.to_vec().into()))); let seed_signature = Hash::default(); -- cgit v1.2.3