Skip to content

Commit aa6bf1f

Browse files
smoeliusflip1995
andauthored
Update clippy_lints/src/let_underscore.rs
Co-authored-by: Philipp Krones <hello@philkrones.com>
1 parent 9c6a0b9 commit aa6bf1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/let_underscore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
141141
cx,
142142
LET_UNDERSCORE_DROP,
143143
local.span,
144-
"non-binding let on a type that implements `Drop`",
144+
"non-binding `let` on a type that implements `Drop`",
145145
None,
146146
"consider using an underscore-prefixed named \
147147
binding or dropping explicitly with `std::mem::drop`"

0 commit comments

Comments
 (0)