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:
commit
afb88ed68f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue