macro_rules! assert_range {
($left:expr, $right:expr) => { ... };
($left:expr, $right:expr, $($arg:tt)+) => { ... };
}Expand description
Asserts that the right hand side expression is within the range on the left hand side
ยงExamples
assert_range!((100..200), 101);