Skip to content

Commit 6fd5393

Browse files
committed
chore: x fmt and hopefully fix the tidy issue
1 parent 32bd5df commit 6fd5393

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Diff for: core/src/num/int_macros.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1313,12 +1313,12 @@ macro_rules! int_impl {
13131313
}
13141314

13151315
/// 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`,
13181318
/// the entire value is shifted out, and `0` is returned.
13191319
///
13201320
/// # Examples
1321-
///
1321+
///
13221322
/// Basic usage:
13231323
/// ```
13241324
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
@@ -1438,13 +1438,13 @@ macro_rules! int_impl {
14381438
}
14391439

14401440
/// 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`,
14431443
/// the entire value is shifted out, which yields `0` for a positive number,
14441444
/// and `-1` for a negative number.
14451445
///
14461446
/// # Examples
1447-
///
1447+
///
14481448
/// Basic usage:
14491449
/// ```
14501450
#[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shl(4), 0x1);")]

Diff for: core/src/num/uint_macros.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1502,12 +1502,12 @@ macro_rules! uint_impl {
15021502
}
15031503

15041504
/// 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`,
15071507
/// the entire value is shifted out, and `0` is returned.
15081508
///
15091509
/// # Examples
1510-
///
1510+
///
15111511
/// Basic usage:
15121512
/// ```
15131513
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
@@ -1627,12 +1627,12 @@ macro_rules! uint_impl {
16271627
}
16281628

16291629
/// 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`,
16321632
/// the entire value is shifted out, and `0` is returned.
16331633
///
16341634
/// # Examples
1635-
///
1635+
///
16361636
/// Basic usage:
16371637
/// ```
16381638
#[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shr(4), 0x10);")]

0 commit comments

Comments
 (0)