diff options
| author | sozysozbot <sozysozbot@gmail.com> | 2020-06-18 06:50:04 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 06:50:04 +0900 |
| commit | f3a40f5eb1cedebd374ebcd52341dfec60f3ea10 (patch) | |
| tree | ae9b8945bb62c8d02104620be9e15bdc88100d2d | |
| parent | 742706511c9f33c6a0d4380392e513e5249057e3 (diff) | |
| download | rust-f3a40f5eb1cedebd374ebcd52341dfec60f3ea10.tar.gz rust-f3a40f5eb1cedebd374ebcd52341dfec60f3ea10.zip | |
Fix typo
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. |
