mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
chore: x fmt
and hopefully fix the tidy issue
This commit is contained in:
parent
38b5a2a67e
commit
79cbb878c7
@ -1313,12 +1313,12 @@ macro_rules! int_impl {
|
||||
}
|
||||
|
||||
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
/// the entire value is shifted out, and `0` is returned.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
|
||||
@ -1438,13 +1438,13 @@ macro_rules! int_impl {
|
||||
}
|
||||
|
||||
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
/// the entire value is shifted out, which yields `0` for a positive number,
|
||||
/// and `-1` for a negative number.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
#[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shl(4), 0x1);")]
|
||||
|
@ -1502,12 +1502,12 @@ macro_rules! uint_impl {
|
||||
}
|
||||
|
||||
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
/// the entire value is shifted out, and `0` is returned.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
#[doc = concat!("assert_eq!(0x1", stringify!($SelfT), ".unbounded_shl(4), 0x10);")]
|
||||
@ -1627,12 +1627,12 @@ macro_rules! uint_impl {
|
||||
}
|
||||
|
||||
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
///
|
||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||
/// the entire value is shifted out, and `0` is returned.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
///
|
||||
/// Basic usage:
|
||||
/// ```
|
||||
#[doc = concat!("assert_eq!(0x10", stringify!($SelfT), ".unbounded_shr(4), 0x10);")]
|
||||
|
Loading…
Reference in New Issue
Block a user