Fix typo in drop_ref lint description.

This commit is contained in:
inrustwetrust 2016-02-02 20:38:14 +01:00
parent 23f949d4b8
commit d93eca29fc
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ use utils::{match_def_path, span_note_and_lint};
/// ```
declare_lint!(pub DROP_REF, Warn,
"call to `std::mem::drop` with a reference instead of an owned value, \
which will not not call the `Drop::drop` method on the underlying value");
which will not call the `Drop::drop` method on the underlying value");
#[allow(missing_copy_implementations)]
pub struct DropRefPass;