Skip to content

Commit

Permalink
Fix copy+paste in description of LEN_ZERO
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcejedi committed May 24, 2015
1 parent 62f0fe0 commit a133dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/len_zero.rs
Expand Up @@ -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()");
Expand Down

0 comments on commit a133dc4

Please sign in to comment.