Skip to content

Commit

Permalink
Remove assert_ne example from doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Lythenas committed Oct 3, 2019
1 parent 024dfee commit 5a0a2b3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions clippy_lints/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5a0a2b3

Please sign in to comment.