Skip to content

Commit 5a0a2b3

Browse files
committed
Remove assert_ne example from doc
1 parent 024dfee commit 5a0a2b3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clippy_lints/src/types.rs

-6
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,6 @@ declare_clippy_lint! {
528528
/// assert_eq!({ foo(); }, { bar(); });
529529
/// ```
530530
/// will always succeed
531-
/// ```rust
532-
/// # fn foo() {};
533-
/// # fn bar() {};
534-
/// assert_ne!({ foo(); }, { bar(); });
535-
/// ```
536-
/// will always fail
537531
pub UNIT_CMP,
538532
correctness,
539533
"comparing unit values"

0 commit comments

Comments
 (0)