aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-03-28 15:48:55 +0200
committerAlex Auvolat <alex@adnab.me>2022-03-28 15:48:55 +0200
commit8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7 (patch)
treed56742c70e552638cc41eb2882f1d1ad998e2b2e
parent913f7754bbefa2899056b1af83d7789b01a4ba39 (diff)
downloadgarage-8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7.tar.gz
garage-8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7.zip
fix a clippy lint
-rw-r--r--src/api/signature/payload.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/signature/payload.rs b/src/api/signature/payload.rs
index 88ec1f00..2a41b307 100644
--- a/src/api/signature/payload.rs
+++ b/src/api/signature/payload.rs
@@ -235,7 +235,7 @@ pub fn canonical_request(
) -> String {
[
method.as_str(),
- &uri.path().to_string(),
+ uri.path(),
&canonical_query_string(uri),
&canonical_header_string(headers, signed_headers),
"",