Skip to content

Commit

Permalink
New clippy warning uninlined-format-args
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmiller-spruceid committed Sep 12, 2023
1 parent 95ffa7c commit ce54940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssi-crypto/src/hashes/keccak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub fn bytes_to_lowerhex(bytes: &[u8]) -> String {
"0x".to_string()
+ &bytes
.iter()
.map(|byte| format!("{:02x}", byte))
.map(|byte| format!("{byte:02x}"))
.collect::<String>()
}

Expand Down

0 comments on commit ce54940

Please sign in to comment.