chore: clippy

This commit is contained in:
thesimplekid
2024-03-01 18:17:48 +00:00
parent c37749dea8
commit 4780e139d9

View File

@@ -64,7 +64,7 @@ impl TryFrom<&PublicKey> for VerifyingKey {
#[cfg(feature = "nut11")]
impl From<VerifyingKey> for PublicKey {
fn from(value: VerifyingKey) -> PublicKey {
PublicKey(value.try_into().unwrap())
PublicKey(value.into())
}
}