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