Static clippy_lints::ok_if_let::IF_LET_SOME_RESULT
[−]
pub static IF_LET_SOME_RESULT: &'static Lint=
&::rustc::lint::Lint{name: "IF_LET_SOME_RESULT", default_level: ::rustc::lint::Warn, desc: "usage of `ok()` in `if let Some(pat)` statements is unnecessary, match on `Ok(pat)` instead",}