Skip to content

Commit 7077bde

Browse files
authored
Fix typo in significant_drop_tightening
1 parent c976ad0 commit 7077bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/significant_drop_tightening.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use rustc_span::{symbol::Ident, Span, DUMMY_SP};
1717
declare_clippy_lint! {
1818
/// ### What it does
1919
///
20-
/// Searches for elements marked with `#[clippy::significant_drop]` that could be early
20+
/// Searches for elements marked with `#[clippy::has_significant_drop]` that could be early
2121
/// dropped but are in fact dropped at the end of their scopes. In other words, enforces the
2222
/// "tightening" of their possible lifetimes.
2323
///

0 commit comments

Comments
 (0)