mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-29 22:09: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
@@ -182,10 +182,7 @@ where
|
||||
loop {
|
||||
interval.tick().await;
|
||||
|
||||
if full_nodes
|
||||
.iter()
|
||||
.all(|&(ref id, ref service, _, _)| full_predicate(*id, service))
|
||||
{
|
||||
if full_nodes.iter().all(|(id, service, _, _)| full_predicate(*id, service)) {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user