@@ -1050,9 +1050,9 @@ $EndFeature, "
10501050 concat!( "Wrapping Euclidean division. Computes `self.div_euc(rhs)`,
10511051wrapping around at the boundary of the type.
10521052
1053- The only case where such wrapping can occur is when one divides `MIN / -1` on a signed type (where
1054- `MIN` is the negative minimal value for the type); this is equivalent to `-MIN`, a positive value
1055- that is too large to represent in the type. In such a case, this function returns `MIN` itself.
1053+ Wrapping will only occur in `MIN / -1` on a signed type (where `MIN` is the negative minimal value
1054+ for the type). This is equivalent to `-MIN`, a positive value that is too large to represent in the
1055+ type. In this case, this method returns `MIN` itself.
10561056
10571057# Panics
10581058
@@ -1106,9 +1106,8 @@ $EndFeature, "
11061106 concat!( "Wrapping Euclidean modulo. Computes `self.mod_euc(rhs)`, wrapping around at the
11071107boundary of the type.
11081108
1109- Such wrap-around never actually occurs mathematically; implementation artifacts make `x % y`
1110- invalid for `MIN / -1` on a signed type (where `MIN` is the negative minimal value). In such a case,
1111- this function returns `0`.
1109+ Wrapping will only occur in `MIN % -1` on a signed type (where `MIN` is the negative minimal value
1110+ for the type). In this case, this method returns 0.
11121111
11131112# Panics
11141113
@@ -1399,7 +1398,7 @@ $EndFeature, "
13991398 concat!( "Calculates the quotient of Euclidean division `self.div_euc(rhs)`.
14001399
14011400Returns a tuple of the divisor along with a boolean indicating whether an arithmetic overflow would
1402- occur. If an overflow would occur then self is returned.
1401+ occur. If an overflow would occur then ` self` is returned.
14031402
14041403# Panics
14051404
0 commit comments