mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 02:53:20 +00:00
9020937bbe
suggests `is_some_and` over `map().unwrap` changelog: Enhancement: [`option_map_unwrap_or`] now considers the [`msrv`] config when creating the suggestion. * modified option_map_unwrap_or lint to recognise when an `Option<T>` is mapped to an `Option<bool>` with false being used when `None` is detected; suggests the use of `is_some_and` instead * msrv is set to 1.70.0 for this lint; when `is_some_and` was stabilised fixes #9125 |
||
---|---|---|
.. | ||
src | ||
book.toml | ||
README.md |