We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7427065 commit f3a40f5Copy full SHA for f3a40f5
clippy_lints/src/let_underscore.rs
@@ -35,7 +35,7 @@ declare_clippy_lint! {
35
/// **What it does:** Checks for `let _ = sync_lock`
36
///
37
/// **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.
+ /// extending its lifetime to the end of the scope, which is often not intended.
39
/// To extend lock lifetime to the end of the scope, use an underscore-prefixed
40
/// name instead (i.e. _lock). If you want to explicitly drop the lock,
41
/// `std::mem::drop` conveys your intention better and is less error-prone.
0 commit comments