diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2023-04-20 20:59:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-20 20:59:59 +0200 |
| commit | 7077bde9d2d08e8f93025b457f1d158eeca92c4e (patch) | |
| tree | f679ff172a7dd7d39d67045956c6c1f878a8537a | |
| parent | c976ad07ee5ce330b612caff8d49397e8ddcdc28 (diff) | |
| download | rust-7077bde9d2d08e8f93025b457f1d158eeca92c4e.tar.gz | |
Fix typo in significant_drop_tightening
| -rw-r--r-- | clippy_lints/src/significant_drop_tightening.rs | 2 |
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. /// |
