merge::num

Function overwrite_zero

source
pub fn overwrite_zero<T: Zero>(left: &mut T, right: T)
Expand description

Overwrite left with right if the value of left is zero.