Function checked_add

Source
fn checked_add(lhs: u32, rhs: u32) -> u32
Expand description

Adds two lengths, panicking rather than wrapping. See checked_mul.