@@ -402,7 +402,7 @@ macro_rules! int_impl {
402402 }
403403
404404 /// Checked integer subtraction. Computes `self - rhs`, returning
405- /// `None` if underflow occurred.
405+ /// `None` if overflow occurred.
406406 ///
407407 /// # Examples
408408 ///
@@ -420,7 +420,7 @@ macro_rules! int_impl {
420420 }
421421
422422 /// Checked integer multiplication. Computes `self * rhs`, returning
423- /// `None` if underflow or overflow occurred.
423+ /// `None` if overflow occurred.
424424 ///
425425 /// # Examples
426426 ///
@@ -438,7 +438,7 @@ macro_rules! int_impl {
438438 }
439439
440440 /// Checked integer division. Computes `self / rhs`, returning `None`
441- /// if `rhs == 0` or the operation results in underflow or overflow.
441+ /// if `rhs == 0` or the operation results in overflow.
442442 ///
443443 /// # Examples
444444 ///
@@ -460,7 +460,7 @@ macro_rules! int_impl {
460460 }
461461
462462 /// Checked integer remainder. Computes `self % rhs`, returning `None`
463- /// if `rhs == 0` or the operation results in underflow or overflow.
463+ /// if `rhs == 0` or the operation results in overflow.
464464 ///
465465 /// # Examples
466466 ///
@@ -1598,7 +1598,7 @@ macro_rules! uint_impl {
15981598 }
15991599
16001600 /// Checked integer subtraction. Computes `self - rhs`, returning
1601- /// `None` if underflow occurred.
1601+ /// `None` if overflow occurred.
16021602 ///
16031603 /// # Examples
16041604 ///
@@ -1616,7 +1616,7 @@ macro_rules! uint_impl {
16161616 }
16171617
16181618 /// Checked integer multiplication. Computes `self * rhs`, returning
1619- /// `None` if underflow or overflow occurred.
1619+ /// `None` if overflow occurred.
16201620 ///
16211621 /// # Examples
16221622 ///
@@ -1634,7 +1634,7 @@ macro_rules! uint_impl {
16341634 }
16351635
16361636 /// Checked integer division. Computes `self / rhs`, returning `None`
1637- /// if `rhs == 0` or the operation results in underflow or overflow.
1637+ /// if `rhs == 0` or the operation results in overflow.
16381638 ///
16391639 /// # Examples
16401640 ///
@@ -1654,7 +1654,7 @@ macro_rules! uint_impl {
16541654 }
16551655
16561656 /// Checked integer remainder. Computes `self % rhs`, returning `None`
1657- /// if `rhs == 0` or the operation results in underflow or overflow.
1657+ /// if `rhs == 0` or the operation results in overflow.
16581658 ///
16591659 /// # Examples
16601660 ///
0 commit comments