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