style: cargo clippy --fix

This commit is contained in:
DarkCat09 2024-08-15 17:52:35 +04:00
parent 3bce5e603f
commit 60d7cfb310
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -102,7 +102,7 @@ impl CertFingerprint {
}
Self::Raw(cert) => {
let mut buf: Vec<u8> = 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<u8> = Vec::new();
b64::encode(&cert, &mut buf).unwrap().to_owned()
b64::encode(cert, &mut buf).unwrap().to_owned()
}
}
}