Skip to content

Commit 15d5ac6

Browse files
Remove duplication in the manual_ok_or lint example
1 parent efccfe8 commit 15d5ac6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clippy_lints/src/manual_ok_or.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ declare_clippy_lint! {
2323
/// ```rust
2424
/// let foo: Option<i32> = None;
2525
/// foo.map_or(Err("error"), |v| Ok(v));
26-
///
27-
/// let foo: Option<i32> = None;
28-
/// foo.map_or(Err("error"), |v| Ok(v));
2926
/// ```
3027
///
3128
/// Use instead:

0 commit comments

Comments
 (0)