macro_rules! expected {
($msg:literal, $($input:tt)+) => { ... };
($($input:tt)+) => { ... };
}Expand description
Evaluates a checked arithmetic expression and panics on failure.
Use this when failure is not realistically expected but the expression does
not meet the safety bar for validated!. The first form accepts a custom
panic message; the second uses a default.