2022-07-18 02:39:37 -05:00
|
|
|
error: called `is_some()` after searching an `Iterator` with `find`
|
|
|
|
--> $DIR/ice-9041.rs:5:19
|
|
|
|
|
|
|
|
|
LL | things.iter().find(|p| is_thing_ready(p)).is_some()
|
2024-01-25 12:17:36 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `any(|p| is_thing_ready(&p))`
|
2022-07-18 02:39:37 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::search-is-some` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::search_is_some)]`
|
2022-07-18 02:39:37 -05:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-07-18 02:39:37 -05:00
|
|
|
|