mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Fix copy+paste in description of LEN_ZERO
This commit is contained in:
parent
62f0fe0cc0
commit
a133dc4451
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use rustc::middle::def::{DefTy, DefStruct, DefTrait};
|
|||
use syntax::codemap::{Span, Spanned};
|
||||
|
||||
declare_lint!(pub LEN_ZERO, Warn,
|
||||
"Warn on usage of double-mut refs, e.g. '&mut &mut ...'");
|
||||
"Warn when .is_empty() could be used instead of checking .len()");
|
||||
|
||||
declare_lint!(pub LEN_WITHOUT_IS_EMPTY, Warn,
|
||||
"Warn on traits and impls that have .len() but not .is_empty()");
|
||||
|
|
Loading…
Reference in a new issue