diff options
| author | Philipp Krones <hello@philkrones.com> | 2020-06-23 14:39:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-23 14:39:50 +0200 |
| commit | e4cbd1df4e79e98170d0da22410c6ac320aba40f (patch) | |
| tree | d7e6a04fa9baa3e3afd43fa83558605f0b9ceab6 | |
| parent | f562117788963a579b8438c75367d9946cae3b23 (diff) | |
| parent | f3a40f5eb1cedebd374ebcd52341dfec60f3ea10 (diff) | |
| download | rust-e4cbd1df4e79e98170d0da22410c6ac320aba40f.tar.gz rust-e4cbd1df4e79e98170d0da22410c6ac320aba40f.zip | |
Rollup merge of #5726 - sozysozbot:patch-1, r=flip1995
Fix typo changelog: extending it's lifetime -> extending its lifetime
| -rw-r--r-- | clippy_lints/src/let_underscore.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/let_underscore.rs b/clippy_lints/src/let_underscore.rs index 710dec8d33f..acd628bbaca 100644 --- a/clippy_lints/src/let_underscore.rs +++ b/clippy_lints/src/let_underscore.rs @@ -35,7 +35,7 @@ declare_clippy_lint! { /// **What it does:** Checks for `let _ = sync_lock` /// /// **Why is this bad?** This statement immediately drops the lock instead of - /// 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. /// To extend lock lifetime to the end of the scope, use an underscore-prefixed /// name instead (i.e. _lock). If you want to explicitly drop the lock, /// `std::mem::drop` conveys your intention better and is less error-prone. |
