about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-03 20:47:15 +0100
committerGitHub <noreply@github.com>2025-03-03 20:47:15 +0100
commitafb88ed68f544a8bf43f5e615edfe2382f6d4976 (patch)
tree0de9109bd54fbb17bdf55ba32f076a5cfb9ce06a
parent795af36d01fefbbbc5618f6a852656be97fb1ea3 (diff)
parent7c62a4766f65a6875e396be6a50295472f48cfc3 (diff)
downloadrust-afb88ed68f544a8bf43f5e615edfe2382f6d4976.tar.gz
rust-afb88ed68f544a8bf43f5e615edfe2382f6d4976.zip
Rollup merge of #137939 - speedy-lex:shl-fix, r=Noratrieb
fix order on shl impl

this doesn't fix any bugs, it makes shl_impl_all! look more consistent with the other impl's in core/ops/bit.rs
-rw-r--r--library/core/src/ops/bit.rs2
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