Skip to content

Commit 9ea66e9

Browse files
committed
Auto merge of rust-lang#6555 - stanislav-tkach:patch-1, r=flip1995
Remove duplication in the manual_ok_or lint example changelog: none
2 parents 953f024 + 15d5ac6 commit 9ea66e9

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)