Skip to content

Commit

Permalink
Fix documentation typo (divison operator is not backslash)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandros Tasos committed Dec 5, 2013
1 parent b5bab85 commit 8257dbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libstd/num/int_macros.rs
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/num/uint_macros.rs
Expand Up @@ -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)
Expand Down

5 comments on commit 8257dbd

@bors
Copy link
Contributor

@bors bors commented on 8257dbd Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at octurion@8257dbd

@bors
Copy link
Contributor

@bors bors commented on 8257dbd Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging octurion/rust/master = 8257dbd into auto

@bors
Copy link
Contributor

@bors bors commented on 8257dbd Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

octurion/rust/master = 8257dbd merged ok, testing candidate = 617ce85

@bors
Copy link
Contributor

@bors bors commented on 8257dbd Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 8257dbd Dec 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 617ce85

Please sign in to comment.