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