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