diff options
author | Alex Auvolat <alex@adnab.me> | 2022-03-28 15:48:55 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-28 15:48:55 +0200 |
commit | 8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7 (patch) | |
tree | d56742c70e552638cc41eb2882f1d1ad998e2b2e | |
parent | 913f7754bbefa2899056b1af83d7789b01a4ba39 (diff) | |
download | garage-8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7.tar.gz garage-8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7.zip |
fix a clippy lint
-rw-r--r-- | src/api/signature/payload.rs | 2 |
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), "", |