Skip to content

Commit 8ff171d

Browse files
committed
Update manual_partial_ord_and_ord_impl.rs
1 parent 29ebc04 commit 8ff171d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/manual_partial_ord_and_ord_impl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ declare_clippy_lint! {
2020
/// `Ord::cmp` in `Some`. Not doing this may silently introduce an error upon refactoring.
2121
///
2222
/// ### Example
23-
/// ```rust
23+
/// ```rust,ignore
2424
/// #[derive(Eq, PartialEq)]
2525
/// struct A(u32);
2626
///
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// }
3838
/// ```
3939
/// Use instead:
40-
/// ```rust
40+
/// ```rust,ignore
4141
/// #[derive(Eq, PartialEq)]
4242
/// struct A(u32);
4343
///

0 commit comments

Comments
 (0)