Static clippy_lints::methods::OPTION_MAP_UNWRAP_OR
[−]
pub static OPTION_MAP_UNWRAP_OR: &Lint=
&::lint::Lint{name: "OPTION_MAP_UNWRAP_OR", default_level: ::lint::Allow, desc: "using `Option.map(f).unwrap_or(a)`, which is more succinctly expressed as `map_or(a, f)`", epoch_deny: None,}