@@ -402,7 +402,7 @@ macro_rules! int_impl {
402
402
}
403
403
404
404
/// Checked integer subtraction. Computes `self - rhs`, returning
405
- /// `None` if underflow occurred.
405
+ /// `None` if overflow occurred.
406
406
///
407
407
/// # Examples
408
408
///
@@ -420,7 +420,7 @@ macro_rules! int_impl {
420
420
}
421
421
422
422
/// Checked integer multiplication. Computes `self * rhs`, returning
423
- /// `None` if underflow or overflow occurred.
423
+ /// `None` if overflow occurred.
424
424
///
425
425
/// # Examples
426
426
///
@@ -438,7 +438,7 @@ macro_rules! int_impl {
438
438
}
439
439
440
440
/// 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.
442
442
///
443
443
/// # Examples
444
444
///
@@ -460,7 +460,7 @@ macro_rules! int_impl {
460
460
}
461
461
462
462
/// 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.
464
464
///
465
465
/// # Examples
466
466
///
@@ -1598,7 +1598,7 @@ macro_rules! uint_impl {
1598
1598
}
1599
1599
1600
1600
/// Checked integer subtraction. Computes `self - rhs`, returning
1601
- /// `None` if underflow occurred.
1601
+ /// `None` if overflow occurred.
1602
1602
///
1603
1603
/// # Examples
1604
1604
///
@@ -1616,7 +1616,7 @@ macro_rules! uint_impl {
1616
1616
}
1617
1617
1618
1618
/// Checked integer multiplication. Computes `self * rhs`, returning
1619
- /// `None` if underflow or overflow occurred.
1619
+ /// `None` if overflow occurred.
1620
1620
///
1621
1621
/// # Examples
1622
1622
///
@@ -1634,7 +1634,7 @@ macro_rules! uint_impl {
1634
1634
}
1635
1635
1636
1636
/// 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.
1638
1638
///
1639
1639
/// # Examples
1640
1640
///
@@ -1654,7 +1654,7 @@ macro_rules! uint_impl {
1654
1654
}
1655
1655
1656
1656
/// 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.
1658
1658
///
1659
1659
/// # Examples
1660
1660
///
0 commit comments