Skip to main content

checked_sub

Function checked_sub 

Source
pub const fn checked_sub(a: u32, b: u32) -> Option<u32>
Expand description

a - b, or None on underflow.