From 60d7cfb310ddead02772f5a5311fd761d63b4f39 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 15 Aug 2024 17:52:35 +0400 Subject: [PATCH] style: cargo clippy --fix --- src/certs/fingerprint.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/certs/fingerprint.rs b/src/certs/fingerprint.rs index c0f8df2..57598f6 100644 --- a/src/certs/fingerprint.rs +++ b/src/certs/fingerprint.rs @@ -102,7 +102,7 @@ impl CertFingerprint { } Self::Raw(cert) => { let mut buf: Vec = Vec::new(); - b16::encode_str(&cert, &mut buf).unwrap().to_owned() + b16::encode_str(cert, &mut buf).unwrap().to_owned() } } } @@ -120,7 +120,7 @@ impl CertFingerprint { } Self::Raw(cert) => { let mut buf: Vec = Vec::new(); - b64::encode(&cert, &mut buf).unwrap().to_owned() + b64::encode(cert, &mut buf).unwrap().to_owned() } } }