about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-21 15:36:56 +0000
committerbors <bors@rust-lang.org>2023-04-21 15:36:56 +0000
commit928349795f9f28f54e69bd0f0ffeed33de5e272a (patch)
treef679ff172a7dd7d39d67045956c6c1f878a8537a
parentc976ad07ee5ce330b612caff8d49397e8ddcdc28 (diff)
parent7077bde9d2d08e8f93025b457f1d158eeca92c4e (diff)
downloadrust-928349795f9f28f54e69bd0f0ffeed33de5e272a.tar.gz
rust-928349795f9f28f54e69bd0f0ffeed33de5e272a.zip
Auto merge of #10677 - Swatinem:patch-1, r=xFrednet
Fix typo in significant_drop_tightening

changelog: none
-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.
     ///