Skip to content

Commit

Permalink
Fix typo in significant_drop_tightening
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem authored Apr 20, 2023
1 parent c976ad0 commit 7077bde
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 7077bde

Please sign in to comment.