Corelib
%=
pub trait RemAssign
fn rem_assign(ref self: Lhs, rhs: Rhs)
let mut x: u8 = 3; x %= x; assert!(x == 0);
Was this page helpful?