Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
error: manual implementation of `Iterator::find` --> impl/src/prop.rs:76:5 | 76 | / for field in fields { 77 | | if field.attrs.from.is_some() { 78 | | return Some(field); 79 | | } 80 | | } 81 | | None | |________^ help: replace with an iterator: `fields.iter().find(|&field| field.attrs.from.is_some())` | = note: `-D clippy::manual-find` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_find error: manual implementation of `Iterator::find` --> impl/src/prop.rs:105:5 | 105 | / for field in fields { 106 | | if field.is_backtrace() { 107 | | return Some(field); 108 | | } 109 | | } 110 | | None | |________^ help: replace with an iterator: `fields.iter().find(|&field| field.is_backtrace())` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_find
- Loading branch information