1 error: manual implementation of `Iterator::find`
2 --> $DIR/manual_find.rs:5:5
4 LL | / for s in strings {
5 LL | | if s == String::new() {
10 | |________^ help: replace with an iterator: `strings.into_iter().find(|s| s == String::new())`
12 = note: `-D clippy::manual-find` implied by `-D warnings`
13 = note: you may need to dereference some variables
15 error: manual implementation of `Iterator::find`
16 --> $DIR/manual_find.rs:14:5
18 LL | / for (s, _) in arr {
19 LL | | if s == String::new() {
20 LL | | return Some(s);
24 | |________^ help: replace with an iterator: `arr.into_iter().map(|(s, _)| s).find(|s| s == String::new())`
26 = note: you may need to dereference some variables
28 error: aborting due to 2 previous errors