Macro std::prelude::assert_ne
Re-export from std::assert_ne
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