/=.
Signature
Trait functions
div_assign
Performs the/= operation.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
/=.
pub trait DivAssign
/= operation.
fn div_assign(ref self: Lhs, rhs: Rhs)
let mut x: u8 = 3;
x /= x;
assert!(x == 1);
Was this page helpful?