Fix typo in drop_ref lint description.
This commit is contained in:
parent
23f949d4b8
commit
d93eca29fc
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue