Skip to content

Commit 2ef5b9a

Browse files
authored
Fix typo
1 parent b0daec5 commit 2ef5b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/manual_option_folding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare_clippy_lint! {
2323
/// ```
2424
/// Use instead:
2525
/// ```rust
26-
/// let opt = Option<i32> = None;
26+
/// let opt: Option<i32> = None;
2727
/// let res: i32 = foo().unwrap_or(42);
2828
/// ```
2929
#[clippy::version = "1.74.0"]

0 commit comments

Comments
 (0)