mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-24 11:29:55 +00:00
simplify some pattern matches to appease 1.68 clippy (#13833)
This commit is contained in:
1 parent
271d65eae7
commit
17765733f0
10 files changed
+23
-37
No files matched your search
@@ -473,7 +473,7 @@ where
|
||||
|
||||
let (hashes, to_send): (Vec<_>, Vec<_>) = transactions
|
||||
.iter()
|
||||
.filter(|&(ref hash, _)| peer.known_transactions.insert(hash.clone()))
|
||||
.filter(|(hash, _)| peer.known_transactions.insert(hash.clone()))
|
||||
.cloned()
|
||||
.unzip();
|
||||
|
||||
|
||||
Reference in new issue
Block a user