Skip to main content

vortex_ensure_eq

Macro vortex_ensure_eq 

Source
macro_rules! vortex_ensure_eq {
    ($left:expr, $right:expr) => { ... };
    ($left:expr, $right:expr, $($tt:tt)*) => { ... };
}
Expand description

A macro that mirrors assert_eq! but instead of panicking when left != right, it will immediately return an erroneous VortexResult to the calling context.