Skip to content

Commit 9199fed

Browse files
committed
clarify let_underscore docs example
1 parent b7c330f commit 9199fed

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
@@ -122,7 +122,7 @@ declare_clippy_lint! {
122122
/// }
123123
/// // Either provide a type annotation:
124124
/// let _: Result<u32, ()> = foo();
125-
/// // …or drop the let keyword:
125+
/// // …or drop the `let` keyword to allow this anyway.
126126
/// _ = foo();
127127
/// ```
128128
#[clippy::version = "1.69.0"]

0 commit comments

Comments
 (0)