Static clippy_lints::needless_bool::NEEDLESS_BOOL
[−]
pub static NEEDLESS_BOOL: &'static Lint=
&::rustc::lint::Lint{name: "NEEDLESS_BOOL", default_level: ::rustc::lint::Warn, desc: "if-statements with plain booleans in the then- and else-clause, e.g. `if p { true } else { false }`",}