macro_rules! ensure_and_debug_assert {
($cond:expr, $($arg:tt)*) => { ... };
}
Expand description
Returns early with an error if a condition is not satisfied. In non-optimized builds, panics instead if so.
macro_rules! ensure_and_debug_assert {
($cond:expr, $($arg:tt)*) => { ... };
}
Returns early with an error if a condition is not satisfied. In non-optimized builds, panics instead if so.