Static clippy_lints::methods::OK_EXPECT
[−]
pub static OK_EXPECT: &'static Lint=
&::rustc::lint::Lint{name: "OK_EXPECT", default_level: ::rustc::lint::Warn, desc: "using `ok().expect()`, which gives worse error messages than calling `expect` directly on the Result",}