Function twos_complement

Source
fn twos_complement<'a, I>(digits: I)
where I: IntoIterator<Item = &'a mut u8>,
Expand description

Perform in-place two’s complement of the given digit iterator starting from the least significant byte.