simplify some pattern matches to appease 1.68 clippy (#13833)

This commit is contained in:
Mira Ressel
2023-04-11 12:57:14 +02:00
committed by GitHub
parent 271d65eae7
commit 17765733f0
10 changed files with 23 additions and 37 deletions
+1 -4
View File
@@ -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
}
}