Skip to content

Commit

Permalink
Auto merge of rust-lang#10677 - Swatinem:patch-1, r=xFrednet
Browse files Browse the repository at this point in the history
Fix typo in significant_drop_tightening

changelog: none
  • Loading branch information
bors committed Apr 21, 2023
2 parents c976ad0 + 7077bde commit 9283497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/significant_drop_tightening.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 9283497

Please sign in to comment.