mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 01:52:51 +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 |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
headers.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |