macro_rules! ensure {
($cond:expr, $($arg:tt)*) => { ... };
}
Expand description
Exits a function early with an Error
if the condition is not satisfied.
macro_rules! ensure {
($cond:expr, $($arg:tt)*) => { ... };
}
Exits a function early with an Error
if the condition is not satisfied.