Skip to content

Commit 139f2a3

Browse files
committed
Surround let with backticks
1 parent 9f618b1 commit 139f2a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/let_underscore.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare_clippy_lint! {
2828
#[clippy::version = "1.42.0"]
2929
pub LET_UNDERSCORE_MUST_USE,
3030
restriction,
31-
"non-binding let on a `#[must_use]` expression"
31+
"non-binding `let` on a `#[must_use]` expression"
3232
}
3333

3434
declare_clippy_lint! {
@@ -56,7 +56,7 @@ declare_clippy_lint! {
5656
#[clippy::version = "1.43.0"]
5757
pub LET_UNDERSCORE_LOCK,
5858
correctness,
59-
"non-binding let on a synchronization lock"
59+
"non-binding `let` on a synchronization lock"
6060
}
6161

6262
declare_clippy_lint! {
@@ -80,7 +80,7 @@ declare_clippy_lint! {
8080
#[clippy::version = "1.66"]
8181
pub LET_UNDERSCORE_FUTURE,
8282
suspicious,
83-
"non-binding let on a future"
83+
"non-binding `let` on a future"
8484
}
8585

8686
declare_lint_pass!(LetUnderscore => [LET_UNDERSCORE_MUST_USE, LET_UNDERSCORE_LOCK, LET_UNDERSCORE_FUTURE]);

0 commit comments

Comments
 (0)