Changen Div to Quot and Mod to Rem.

This commit is contained in:
Jack Moffitt 2013-04-22 16:22:16 -06:00
parent cdef71dbab
commit 5e4d59423b

View file

@ -22,12 +22,12 @@ impl Mul<Au,Au> for Au {
fn mul(&self, other: &Au) -> Au { Au(**self * **other) }
}
impl Div<Au,Au> for Au {
fn div(&self, other: &Au) -> Au { Au(**self / **other) }
impl Quot<Au,Au> for Au {
fn quot(&self, other: &Au) -> Au { Au(**self / **other) }
}
impl Modulo<Au,Au> for Au {
fn modulo(&self, other: &Au) -> Au { Au(**self % **other) }
impl Rem<Au,Au> for Au {
fn rem(&self, other: &Au) -> Au { Au(**self % **other) }
}
impl Neg<Au> for Au {