Skip to main content

increment

Function increment 

Source
fn increment(digits: &mut [u8]) -> bool
Expand description

Adds one unit in the last place of a string of ASCII decimal digits; true if the carry leaves the leading digit (the digits are then all zero).