style: cargo clippy --fix
This commit is contained in:
parent
3bce5e603f
commit
60d7cfb310
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ impl CertFingerprint {
|
||||||
}
|
}
|
||||||
Self::Raw(cert) => {
|
Self::Raw(cert) => {
|
||||||
let mut buf: Vec<u8> = Vec::new();
|
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) => {
|
Self::Raw(cert) => {
|
||||||
let mut buf: Vec<u8> = Vec::new();
|
let mut buf: Vec<u8> = Vec::new();
|
||||||
b64::encode(&cert, &mut buf).unwrap().to_owned()
|
b64::encode(cert, &mut buf).unwrap().to_owned()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue