Skip to content

Commit 617ce85

Browse files
committed
auto merge of #10825 : octurion/rust/master, r=alexcrichton
2 parents b5bab85 + 8257dbd commit 617ce85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/num/int_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ impl Integer for $T {
270270
}
271271
}
272272

273-
/// Calculates `div` (`\`) and `rem` (`%`) simultaneously
273+
/// Calculates `div` (`/`) and `rem` (`%`) simultaneously
274274
#[inline]
275275
fn div_rem(&self, other: &$T) -> ($T,$T) {
276276
(*self / *other, *self % *other)

src/libstd/num/uint_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl Neg<$T> for $T {
123123
impl Unsigned for $T {}
124124

125125
impl Integer for $T {
126-
/// Calculates `div` (`\`) and `rem` (`%`) simultaneously
126+
/// Calculates `div` (`/`) and `rem` (`%`) simultaneously
127127
#[inline]
128128
fn div_rem(&self, other: &$T) -> ($T,$T) {
129129
(*self / *other, *self % *other)

0 commit comments

Comments
 (0)