@@ -459,15 +459,15 @@ macro_rules! int_impl {
459
459
}
460
460
}
461
461
462
- /// Wrapping (modular) division. Computes `floor( self / other) `,
462
+ /// Wrapping (modular) division. Computes `self / other`,
463
463
/// wrapping around at the boundary of the type.
464
464
///
465
465
/// The only case where such wrapping can occur is when one
466
466
/// divides `MIN / -1` on a signed type (where `MIN` is the
467
467
/// negative minimal value for the type); this is equivalent
468
468
/// to `-MIN`, a positive value that is too large to represent
469
469
/// in the type. In such a case, this function returns `MIN`
470
- /// itself..
470
+ /// itself.
471
471
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
472
472
#[ inline( always) ]
473
473
pub fn wrapping_div( self , rhs: Self ) -> Self {
@@ -1031,15 +1031,15 @@ macro_rules! uint_impl {
1031
1031
}
1032
1032
}
1033
1033
1034
- /// Wrapping (modular) division. Computes `floor( self / other) `,
1034
+ /// Wrapping (modular) division. Computes `self / other`,
1035
1035
/// wrapping around at the boundary of the type.
1036
1036
///
1037
1037
/// The only case where such wrapping can occur is when one
1038
1038
/// divides `MIN / -1` on a signed type (where `MIN` is the
1039
1039
/// negative minimal value for the type); this is equivalent
1040
1040
/// to `-MIN`, a positive value that is too large to represent
1041
1041
/// in the type. In such a case, this function returns `MIN`
1042
- /// itself..
1042
+ /// itself.
1043
1043
#[ stable( feature = "num_wrapping" , since = "1.2.0" ) ]
1044
1044
#[ inline( always) ]
1045
1045
pub fn wrapping_div( self , rhs: Self ) -> Self {
0 commit comments