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