From 8f9cf3a5d10dafc28b717e89c8c5944c2de1b2f7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 28 Mar 2022 15:48:55 +0200 Subject: [PATCH] fix a clippy lint --- src/api/signature/payload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), "",