Skip to content

Commit a7cb18b

Browse files
authored
chore: Fix clippy warning in latest rust stable (#270)
Fix clippy warning in latest rust stable (1.87.0) related to an usage of a `map` followed by an `all` identity as decribed [here](https://rust-lang.github.io/rust-clippy/master/index.html#map_all_any_identity). Signed-off-by: Jose Daniel Hernandez <[email protected]>
1 parent 60606fe commit a7cb18b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/frames.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ impl PartialEq for UnresolvedFrames {
8787
false
8888
} else {
8989
Iterator::zip(frames1.iter(), frames2.iter())
90-
.map(|(s1, s2)| s1.symbol_address() == s2.symbol_address())
91-
.all(|equal| equal)
90+
.all(|(s1, s2)| s1.symbol_address() == s2.symbol_address())
9291
}
9392
}
9493
}

0 commit comments

Comments
 (0)