mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 04:51:01 +00:00
simplify some pattern matches to appease 1.68 clippy (#13833)
This commit is contained in:
@@ -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