checked_op_panic

Function checked_op_panic 

Source
pub fn checked_op_panic(l: usize, op: ArithOp, r: usize) -> usize
Expand description

Performs a checked arithmetic operation on two usizes.

§Panics

Panics with information about this function’s arguments if the operation would overflow.