about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel E. Moelius <35515885+smoelius@users.noreply.github.com>2020-11-08 17:24:55 -0500
committerGitHub <noreply@github.com>2020-11-08 17:24:55 -0500
commitaa6bf1f90d9191cdf4c6d925f8137fa8eac37889 (patch)
treefe74c0cf4cdfe543168c2cbf81729194e906257f
parent9c6a0b9c3490b321756c56d07c57f5537ea2b7fb (diff)
downloadrust-aa6bf1f90d9191cdf4c6d925f8137fa8eac37889.tar.gz
rust-aa6bf1f90d9191cdf4c6d925f8137fa8eac37889.zip
Update clippy_lints/src/let_underscore.rs
Co-authored-by: Philipp Krones <hello@philkrones.com>
-rw-r--r--clippy_lints/src/let_underscore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/let_underscore.rs b/clippy_lints/src/let_underscore.rs
index 9c7fd634547..e8e64bca535 100644
--- a/clippy_lints/src/let_underscore.rs
+++ b/clippy_lints/src/let_underscore.rs
@@ -141,7 +141,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
                         cx,
                         LET_UNDERSCORE_DROP,
                         local.span,
-                        "non-binding let on a type that implements `Drop`",
+                        "non-binding `let` on a type that implements `Drop`",
                         None,
                         "consider using an underscore-prefixed named \
                             binding or dropping explicitly with `std::mem::drop`"