aboutsummaryrefslogtreecommitdiff
path: root/src/garage/tests/common
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-08 19:02:48 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-08 23:29:57 +0100
commitbcbd15da84181ad94ece7e794933a6ebd388f5bc (patch)
treec7b21f8b5d9c800f3a0be5f1ca26a0c956c63288 /src/garage/tests/common
parentad5ce968d212d951f7459c36bcbdd78ce39be585 (diff)
downloadgarage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.tar.gz
garage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.zip
[dep-upgrade-202402] cargo clippy fixes
Diffstat (limited to 'src/garage/tests/common')
-rw-r--r--src/garage/tests/common/custom_requester.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/tests/common/custom_requester.rs b/src/garage/tests/common/custom_requester.rs
index 72fb1a46..e5f4cca1 100644
--- a/src/garage/tests/common/custom_requester.rs
+++ b/src/garage/tests/common/custom_requester.rs
@@ -205,8 +205,8 @@ impl<'a> RequestBuilder<'a> {
all_headers.insert("x-amz-content-sha256".to_owned(), body_sha.clone());
let mut signed_headers = all_headers
- .iter()
- .map(|(k, _)| k.as_ref())
+ .keys()
+ .map(|k| k.as_ref())
.collect::<Vec<&str>>();
signed_headers.sort();
let signed_headers = signed_headers.join(";");