Macro assert_cmp::debug_assert_fn
source · macro_rules! debug_assert_fn {
($function:ident($left:expr, $right:expr)) => { ... };
(not $function:ident($left:expr, $right:expr)) => { ... };
}
Expand description
Assert that a binary function call of 2 expressions returns true
.
This macro is the debug-only version of assert_fn
.
It acts like assert_op_expr
in debug mode, but does nothing in release mode.