Skip to content

Commit de8f957

Browse files
quextenHinton
andauthored
Update crates/bitwarden-crypto/src/keys/signed_public_key.rs
Co-authored-by: Oscar Hinton <[email protected]>
1 parent 90d2295 commit de8f957

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/bitwarden-crypto/src/keys/signed_public_key.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ impl From<SignedPublicKey> for Vec<u8> {
8989
impl TryFrom<Vec<u8>> for SignedPublicKey {
9090
type Error = EncodingError;
9191
fn try_from(bytes: Vec<u8>) -> Result<Self, EncodingError> {
92-
Ok(SignedPublicKey(SignedObject::from_cose(&Bytes::<
93-
CoseSign1ContentFormat,
94-
>::from(
92+
Ok(SignedPublicKey(SignedObject::from_cose(&CoseSign1ContentFormat::from(
9593
bytes
9694
))?))
9795
}

0 commit comments

Comments
 (0)