Fixed a clippy issue

This commit is contained in:
Hannes 2021-10-07 14:56:12 +02:00
parent 1820a83759
commit 34df77c18d

View file

@ -263,7 +263,7 @@ impl From<&ExRatchetEncHeader> for RatchetEncHeader {
private_key: private_dhs,
public_key: public_dhs
};
let dhr = ex_reh.dhr.as_ref().map(|e| PublicKey::from_jwk_str(&e).unwrap());
let dhr = ex_reh.dhr.as_ref().map(|e| PublicKey::from_jwk_str(e).unwrap());
Self {
dhs,
dhr,