Panics if lhs
and rhs
are equal.
Examples
assert_ne!(1 + 1, 3);
Run this example
assert_ne!(1 + 1, 2); // panics
Run this example
Panics if lhs
and rhs
are equal.
assert_ne!(1 + 1, 3);
Run this example
assert_ne!(1 + 1, 2); // panics
Run this example