mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-30 06:53:27 +00:00
79d152190c
Ehance opt_as_ref_deref lint. - [x] Added passing UI tests (including committed `.stderr` file) - [x] `cargo test` passes locally - [x] Run `cargo dev fmt` Lint on opt.as_ref().map(|x| &**x). Fixes #5367. changelog: lint on opt.as_ref().map(|x| &**x) |
||
---|---|---|
.. | ||
inefficient_to_string.rs | ||
manual_saturating_arithmetic.rs | ||
mod.rs | ||
option_map_unwrap_or.rs | ||
unnecessary_filter_map.rs |