1
Fork 0

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
This commit is contained in:
Matthias Krüger 2025-03-03 20:47:15 +01:00 committed by GitHub
commit afb88ed68f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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