macro_rules! range_check {
($n:expr, $lower:expr, $upper:expr) => { ... };
}
Expand description
Enforces that a number is within the specified [LOWER, UPPER] bounds.
The brackets indicate that this range is inclusive on both sides.
macro_rules! range_check {
($n:expr, $lower:expr, $upper:expr) => { ... };
}
Enforces that a number is within the specified [LOWER, UPPER] bounds.
The brackets indicate that this range is inclusive on both sides.