summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArpad Borsos <swatinem@swatinem.de>2023-04-20 20:59:59 +0200
committerGitHub <noreply@github.com>2023-04-20 20:59:59 +0200
commit7077bde9d2d08e8f93025b457f1d158eeca92c4e (patch)
treef679ff172a7dd7d39d67045956c6c1f878a8537a
parentc976ad07ee5ce330b612caff8d49397e8ddcdc28 (diff)
downloadrust-7077bde9d2d08e8f93025b457f1d158eeca92c4e.tar.gz
Fix typo in significant_drop_tightening
-rw-r--r--clippy_lints/src/significant_drop_tightening.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/significant_drop_tightening.rs b/clippy_lints/src/significant_drop_tightening.rs
index 003c5e7d151..b930b2c8dd7 100644
--- a/clippy_lints/src/significant_drop_tightening.rs
+++ b/clippy_lints/src/significant_drop_tightening.rs
@@ -17,7 +17,7 @@ use rustc_span::{symbol::Ident, Span, DUMMY_SP};
declare_clippy_lint! {
/// ### What it does
///
- /// Searches for elements marked with `#[clippy::significant_drop]` that could be early
+ /// Searches for elements marked with `#[clippy::has_significant_drop]` that could be early
/// dropped but are in fact dropped at the end of their scopes. In other words, enforces the
/// "tightening" of their possible lifetimes.
///