Skip to content

Commit e4cbd1d

Browse files
authored
Rollup merge of #5726 - sozysozbot:patch-1, r=flip1995
Fix typo changelog: extending it's lifetime -> extending its lifetime
2 parents f562117 + f3a40f5 commit e4cbd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/let_underscore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// **What it does:** Checks for `let _ = sync_lock`
3636
///
3737
/// **Why is this bad?** This statement immediately drops the lock instead of
38-
/// extending it's lifetime to the end of the scope, which is often not intended.
38+
/// extending its lifetime to the end of the scope, which is often not intended.
3939
/// To extend lock lifetime to the end of the scope, use an underscore-prefixed
4040
/// name instead (i.e. _lock). If you want to explicitly drop the lock,
4141
/// `std::mem::drop` conveys your intention better and is less error-prone.

0 commit comments

Comments
 (0)