Remove assert_ne example from doc

This commit is contained in:
Matthias Seiffert 2019-10-03 19:53:41 +02:00
parent 024dfee33c
commit 5a0a2b383c

View file

@ -528,12 +528,6 @@ declare_clippy_lint! {
/// assert_eq!({ foo(); }, { bar(); });
/// ```
/// will always succeed
/// ```rust
/// # fn foo() {};
/// # fn bar() {};
/// assert_ne!({ foo(); }, { bar(); });
/// ```
/// will always fail
pub UNIT_CMP,
correctness,
"comparing unit values"