rust-clippy/clippy_lints/src/methods
Philipp Krones 79d152190c
Rollup merge of #5425 - xiongmao86:issue5367, r=flip1995
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)
2020-04-08 15:50:28 +02:00
..
inefficient_to_string.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
manual_saturating_arithmetic.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
mod.rs Rollup merge of #5425 - xiongmao86:issue5367, r=flip1995 2020-04-08 15:50:28 +02:00
option_map_unwrap_or.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
unnecessary_filter_map.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00