pub fn checked_sub<T: UnsignedPrimInt>(left: T, right: T) -> Option<T>Expand description
Subtract the specified value from the integer,
returning None if overflow occurs.
pub fn checked_sub<T: UnsignedPrimInt>(left: T, right: T) -> Option<T>Subtract the specified value from the integer,
returning None if overflow occurs.