What it does
Detect assert!(a == b) and assert!(a != b) and suggest using assert_eq! or assert_ne! respectively.
Should probably apply to debug_assert! as well.
Advantage
- The specialized asserts provide more info in their error messages
Drawbacks
No response
Example
Could be written as: