9dd2252b2c
New lints `iter_filter_is_some` and `iter_filter_is_ok` Adds a pair of lints that check for cases of an iterator over `Result` and `Option` followed by `filter` without being followed by `map` as that is covered already by a different, specialized lint. Fixes #11843 PS, I also made some minor documentations fixes in a case where a double tick (`) was included. --- changelog: New Lint: [`iter_filter_is_some`] [#12004](https://github.com/rust-lang/rust/pull/12004) changelog: New Lint: [`iter_filter_is_ok`] [#12004](https://github.com/rust-lang/rust/pull/12004)