fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: called `is_some()` after searching an `Iterator` with `find` 2 --> $DIR/ice-9041.rs:5:19 3 | 4LL | things.iter().find(|p| is_thing_ready(p)).is_some() 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `any()` instead: `any(|p| is_thing_ready(&p))` 6 | 7 = note: `-D clippy::search-is-some` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::search_is_some)]` 9 10error: aborting due to previous error 11