logo
macro_rules! map_wrapper {
    ($cond:ident, $t:ty, $($arg:tt)*) => { ... };
}
Expand description

Test a condition and if it is false, return the supplied error. It’s like an assert! that doesn’t panic.