more_asserts::debug_assert_le!
[−]
[src]
macro_rules! debug_assert_le { ($left:expr, $right:expr) => { ... }; }
Panics if the first expression is not less than or equal to the second.
Requires that the types be comparable with <=
.
Prints the values out on panic.
This macro is disabled by default in optimized builds, unless
-C debug-assertions
is provided to the compiler.