fix a clippy lint

This commit is contained in:
Alex Auvolat 2022-03-28 15:48:55 +02:00
parent 913f7754bb
commit 8f9cf3a5d1
No known key found for this signature in database
GPG key ID: 0E496D15096376BE

View file

@ -235,7 +235,7 @@ pub fn canonical_request(
) -> String { ) -> String {
[ [
method.as_str(), method.as_str(),
&uri.path().to_string(), uri.path(),
&canonical_query_string(uri), &canonical_query_string(uri),
&canonical_header_string(headers, signed_headers), &canonical_header_string(headers, signed_headers),
"", "",