Fix documentation typo (divison operator is not backslash)
This commit is contained in:
parent
b5bab85c1a
commit
8257dbd2c6
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue