Skip to content

Commit 93dab8f

Browse files
committed
More backticks
1 parent b7d9af2 commit 93dab8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clippy_lints/src/let_underscore.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
114114
cx,
115115
LET_UNDERSCORE_LOCK,
116116
local.span,
117-
"non-binding let on a synchronization lock",
117+
"non-binding `let` on a synchronization lock",
118118
None,
119119
"consider using an underscore-prefixed named \
120120
binding or dropping explicitly with `std::mem::drop`",
@@ -125,7 +125,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
125125
cx,
126126
LET_UNDERSCORE_FUTURE,
127127
local.span,
128-
"non-binding let on a future",
128+
"non-binding `let` on a future",
129129
None,
130130
"consider awaiting the future or dropping explicitly with `std::mem::drop`"
131131
);
@@ -134,7 +134,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
134134
cx,
135135
LET_UNDERSCORE_MUST_USE,
136136
local.span,
137-
"non-binding let on an expression with `#[must_use]` type",
137+
"non-binding `let` on an expression with `#[must_use]` type",
138138
None,
139139
"consider explicitly using expression value",
140140
);
@@ -143,7 +143,7 @@ impl<'tcx> LateLintPass<'tcx> for LetUnderscore {
143143
cx,
144144
LET_UNDERSCORE_MUST_USE,
145145
local.span,
146-
"non-binding let on a result of a `#[must_use]` function",
146+
"non-binding `let` on a result of a `#[must_use]` function",
147147
None,
148148
"consider explicitly using function result",
149149
);

0 commit comments

Comments
 (0)