This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git


The following commit(s) were added to refs/heads/main by this push:
     new f1dd075  Fix for clippy 1.90 (#492)
f1dd075 is described below

commit f1dd0752f5dde6b992602bd0641a5c62a7a32ca9
Author: Andrew Lamb <[email protected]>
AuthorDate: Fri Sep 19 07:04:10 2025 -0700

    Fix for clippy 1.90 (#492)
---
 src/azure/credential.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/azure/credential.rs b/src/azure/credential.rs
index c34a8e3..3720884 100644
--- a/src/azure/credential.rs
+++ b/src/azure/credential.rs
@@ -507,7 +507,7 @@ fn string_to_sign(h: &HeaderMap, u: &Url, method: &Method, 
account: &str) -> Str
 fn canonicalize_header(headers: &HeaderMap) -> String {
     let mut names = headers
         .iter()
-        .filter(|&(k, _)| (k.as_str().starts_with("x-ms")))
+        .filter(|&(k, _)| k.as_str().starts_with("x-ms"))
         // TODO remove unwraps
         .map(|(k, _)| (k.as_str(), headers.get(k).unwrap().to_str().unwrap()))
         .collect::<Vec<_>>();

Reply via email to