Commit 969a0e6
committed
Use any combinator
Clippy emits:
warning: called `is_some()` after searching an `Iterator` with `find`
As suggested, use the `any` combinator instead of `is_some` after `find`.1 parent 0ac2af6 commit 969a0e6
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1560 | 1560 | | |
1561 | 1561 | | |
1562 | 1562 | | |
1563 | | - | |
1564 | | - | |
| 1563 | + | |
1565 | 1564 | | |
1566 | 1565 | | |
1567 | 1566 | | |
| |||
0 commit comments