Static clippy_lints::len_zero::LEN_ZERO
[−]
pub static LEN_ZERO: &'static Lint=
&::rustc::lint::Lint{name: "LEN_ZERO", default_level: ::rustc::lint::Warn, desc: "checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead",}