@@ -1300,7 +1300,7 @@ macro_rules! int_impl {
1300
1300
}
1301
1301
}
1302
1302
1303
- /// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
1303
+ /// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`.
1304
1304
///
1305
1305
/// If `rhs` is larger or equal to the number of bits in `self`,
1306
1306
/// the entire value is shifted out, and `0` is returned.
@@ -1423,7 +1423,7 @@ macro_rules! int_impl {
1423
1423
}
1424
1424
}
1425
1425
1426
- /// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
1426
+ /// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`.
1427
1427
///
1428
1428
/// If `rhs` is larger or equal to the number of bits in `self`,
1429
1429
/// the entire value is shifted out, which yields `0` for a positive number,
@@ -2389,7 +2389,7 @@ macro_rules! int_impl {
2389
2389
( res, overflowed ^ ( rhs < 0 ) )
2390
2390
}
2391
2391
2392
- /// Calculates `self` - `rhs`
2392
+ /// Calculates `self` - `rhs`.
2393
2393
///
2394
2394
/// Returns a tuple of the subtraction along with a boolean indicating whether an arithmetic overflow
2395
2395
/// would occur. If an overflow would have occurred then the wrapped value is returned.
@@ -2470,7 +2470,7 @@ macro_rules! int_impl {
2470
2470
( c, b != d)
2471
2471
}
2472
2472
2473
- /// Calculates `self` - `rhs` with an unsigned `rhs`
2473
+ /// Calculates `self` - `rhs` with an unsigned `rhs`.
2474
2474
///
2475
2475
/// Returns a tuple of the subtraction along with a boolean indicating
2476
2476
/// whether an arithmetic overflow would occur. If an overflow would
0 commit comments