chore: x fmt and hopefully fix the tidy issue · patricklam/verify-rust-std@6fd5393 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1313,12 +1313,12 @@ macro_rules! int_impl {
1313 1313 }
1314 1314
1315 1315 /// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
1316 - ///
1317 - /// If `rhs` is larger or equal to the number of bits in `self`,
1316 + ///
1317 + /// If `rhs` is larger or equal to the number of bits in `self`,
1318 1318 /// the entire value is shifted out, and `0` is returned.
1319 1319 ///
1320 1320 /// # Examples
1321 - ///
1321 + ///
1322 1322 /// Basic usage:
1323 1323 /// ```
1324 1324 #[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
@@ -1438,13 +1438,13 @@ macro_rules! int_impl {
1438 1438 }
1439 1439
1440 1440 /// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
1441 - ///
1442 - /// If `rhs` is larger or equal to the number of bits in `self`,
1441 + ///
1442 + /// If `rhs` is larger or equal to the number of bits in `self`,
1443 1443 /// the entire value is shifted out, which yields `0` for a positive number,
1444 1444 /// and `-1` for a negative number.
1445 1445 ///
1446 1446 /// # Examples
1447 - ///
1447 + ///
1448 1448 /// Basic usage:
1449 1449 /// ```
1450 1450 #[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shl(4), 0x1);")]
Original file line number Diff line number Diff line change
@@ -1502,12 +1502,12 @@ macro_rules! uint_impl {
1502 1502 }
1503 1503
1504 1504 /// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
1505 - ///
1506 - /// If `rhs` is larger or equal to the number of bits in `self`,
1505 + ///
1506 + /// If `rhs` is larger or equal to the number of bits in `self`,
1507 1507 /// the entire value is shifted out, and `0` is returned.
1508 1508 ///
1509 1509 /// # Examples
1510 - ///
1510 + ///
1511 1511 /// Basic usage:
1512 1512 /// ```
1513 1513 #[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
@@ -1627,12 +1627,12 @@ macro_rules! uint_impl {
1627 1627 }
1628 1628
1629 1629 /// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
1630 - ///
1631 - /// If `rhs` is larger or equal to the number of bits in `self`,
1630 + ///
1631 + /// If `rhs` is larger or equal to the number of bits in `self`,
1632 1632 /// the entire value is shifted out, and `0` is returned.
1633 1633 ///
1634 1634 /// # Examples
1635 - ///
1635 + ///
1636 1636 /// Basic usage:
1637 1637 /// ```
1638 1638 #[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shr(4), 0x10);")]