Skip to content

Commit 4bd5049

Browse files
jRimbaultjlebon
authored andcommitted
Fix unnecessary reference clippy lint
1 parent fb0b721 commit 4bd5049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ impl PublicKey {
616616
/// `fb:a0:5b:a0:21:01:47:33:3b:8d:9e:14:1a:4c:db:6d` .
617617
pub fn fingerprint_md5(&self) -> String {
618618
let mut sh = Md5::default();
619-
sh.update(&self.data());
619+
sh.update(self.data());
620620

621621
let md5: Vec<String> = sh.finalize().iter().map(|n| format!("{:02x}", n)).collect();
622622
md5.join(":")

0 commit comments

Comments
 (0)