Fix documentation typo (divison operator is not backslash)

This commit is contained in:
Alexandros Tasos 2013-12-05 16:24:48 +02:00
parent b5bab85c1a
commit 8257dbd2c6
2 changed files with 2 additions and 2 deletions

View file

@ -270,7 +270,7 @@ impl Integer for $T {
}
}
/// Calculates `div` (`\`) and `rem` (`%`) simultaneously
/// Calculates `div` (`/`) and `rem` (`%`) simultaneously
#[inline]
fn div_rem(&self, other: &$T) -> ($T,$T) {
(*self / *other, *self % *other)

View file

@ -123,7 +123,7 @@ impl Neg<$T> for $T {
impl Unsigned for $T {}
impl Integer for $T {
/// Calculates `div` (`\`) and `rem` (`%`) simultaneously
/// Calculates `div` (`/`) and `rem` (`%`) simultaneously
#[inline]
fn div_rem(&self, other: &$T) -> ($T,$T) {
(*self / *other, *self % *other)