chore: clippy

This commit is contained in:
thesimplekid
2024-03-01 19:22:48 +00:00
parent 500647e6d0
commit e6802a1357
2 changed files with 2 additions and 2 deletions

View File

@@ -298,7 +298,7 @@ mod tests {
let pubkey = PublicKey::from_str(key_str).unwrap();
let v_key: VerifyingKey = pubkey.clone().try_into().unwrap();
let p: PublicKey = v_key.try_into().unwrap();
let p: PublicKey = v_key.into();
assert_eq!(p, pubkey);
}

View File

@@ -247,7 +247,7 @@ impl TryFrom<Secret> for P2PKConditions {
.secret_data
.tags
.into_iter()
.flat_map(|t| Tag::try_from(t))
.flat_map(Tag::try_from)
.map(|t| (t.kind(), t))
.collect();