diff options
| author | Speedy_Lex <alex.ciocildau@gmail.com> | 2025-03-03 09:51:51 +0100 |
|---|---|---|
| committer | Speedy_Lex <alex.ciocildau@gmail.com> | 2025-03-03 09:51:51 +0100 |
| commit | 7c62a4766f65a6875e396be6a50295472f48cfc3 (patch) | |
| tree | 3ebcdf8706ac91b838b3f4869dbfd851f664ab2a | |
| parent | 81d8edc2000aa38b08ad09fce22d90f1990b6459 (diff) | |
| download | rust-7c62a4766f65a6875e396be6a50295472f48cfc3.tar.gz rust-7c62a4766f65a6875e396be6a50295472f48cfc3.zip | |
fix order on shl impl
this doesn't fix any bugs, it just looks more consistent with the other impl's
| -rw-r--r-- | library/core/src/ops/bit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/bit.rs b/library/core/src/ops/bit.rs index 6984100e498..deb54c8ba34 100644 --- a/library/core/src/ops/bit.rs +++ b/library/core/src/ops/bit.rs @@ -493,7 +493,7 @@ macro_rules! shl_impl_all { )*) } -shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 } +shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize } /// The right shift operator `>>`. Note that because this trait is implemented /// for all integer types with multiple right-hand-side types, Rust's type |
