Macro concordium_std::ensure_ne
source · macro_rules! ensure_ne { ($l:expr, $r:expr) => { ... }; ($l:expr, $r:expr, $arg:expr) => { ... }; }
Expand description
Ensure the first two arguments are not equal, using bail
otherwise.
macro_rules! ensure_ne { ($l:expr, $r:expr) => { ... }; ($l:expr, $r:expr, $arg:expr) => { ... }; }
Ensure the first two arguments are not equal, using bail
otherwise.