File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1704,7 +1704,7 @@ impl f128 {
17041704 q
17051705 }
17061706
1707- /// Calculates the least nonnegative remainder of `self (mod rhs) `.
1707+ /// Calculates the least nonnegative remainder of `self / rhs`.
17081708 ///
17091709 /// In particular, the return value `r` satisfies `0.0 <= r < rhs.abs()` in
17101710 /// most cases. However, due to a floating point round-off error it can
Original file line number Diff line number Diff line change @@ -1679,7 +1679,7 @@ impl f16 {
16791679 q
16801680 }
16811681
1682- /// Calculates the least nonnegative remainder of `self (mod rhs) `.
1682+ /// Calculates the least nonnegative remainder of `self / rhs`.
16831683 ///
16841684 /// In particular, the return value `r` satisfies `0.0 <= r < rhs.abs()` in
16851685 /// most cases. However, due to a floating point round-off error it can
Original file line number Diff line number Diff line change @@ -3124,7 +3124,7 @@ macro_rules! int_impl {
31243124 }
31253125
31263126
3127- /// Calculates the least nonnegative remainder of `self (mod rhs) `.
3127+ /// Calculates the least nonnegative remainder of `self / rhs`.
31283128 ///
31293129 /// This is done as if by the Euclidean division algorithm -- given
31303130 /// `r = self.rem_euclid(rhs)`, the result satisfies
Original file line number Diff line number Diff line change @@ -3399,7 +3399,7 @@ macro_rules! uint_impl {
33993399 }
34003400
34013401
3402- /// Calculates the least remainder of `self (mod rhs) `.
3402+ /// Calculates the least remainder of `self / rhs`.
34033403 ///
34043404 /// Since, for the positive integers, all common
34053405 /// definitions of division are equal, this
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ impl f32 {
252252 core:: f32:: math:: div_euclid ( self , rhs)
253253 }
254254
255- /// Calculates the least nonnegative remainder of `self (mod rhs) `.
255+ /// Calculates the least nonnegative remainder of `self / rhs`.
256256 ///
257257 /// In particular, the return value `r` satisfies `0.0 <= r < rhs.abs()` in
258258 /// most cases. However, due to a floating point round-off error it can
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ impl f64 {
252252 core:: f64:: math:: div_euclid ( self , rhs)
253253 }
254254
255- /// Calculates the least nonnegative remainder of `self (mod rhs) `.
255+ /// Calculates the least nonnegative remainder of `self / rhs`.
256256 ///
257257 /// In particular, the return value `r` satisfies `0.0 <= r < rhs.abs()` in
258258 /// most cases. However, due to a floating point round-off error it can
You can’t perform that action at this time.
0 commit comments