Skip to main content

sub_checked

Function sub_checked 

Source
fn sub_checked(counter: &AtomicUsize, sub: usize)
Expand description

Subtract sub from counter.

ยงPanics

Panics if the result would be negative, which means a retirement was never matched by an announcement.