mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 13:36:49 +00:00
Auto merge of #10677 - Swatinem:patch-1, r=xFrednet
Fix typo in significant_drop_tightening changelog: none
This commit is contained in:
commit
928349795f
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user