From 6fd539327d235073dde33995bb5e1b14798f8629 Mon Sep 17 00:00:00 2001 From: Connor Horman Date: Wed, 21 Aug 2024 21:37:50 +0000 Subject: [PATCH] chore: `x fmt` and hopefully fix the tidy issue --- core/src/num/int_macros.rs | 12 ++++++------ core/src/num/uint_macros.rs | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/src/num/int_macros.rs b/core/src/num/int_macros.rs index b48b05577c96c..8c4f6a37fa91e 100644 --- a/core/src/num/int_macros.rs +++ b/core/src/num/int_macros.rs @@ -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);")] diff --git a/core/src/num/uint_macros.rs b/core/src/num/uint_macros.rs index f09fd604dc6a4..643a76d23e415 100644 --- a/core/src/num/uint_macros.rs +++ b/core/src/num/uint_macros.rs @@ -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);")]