Skip to content

Commit afb88ed

Browse files
authored
Rollup merge of rust-lang#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
2 parents 795af36 + 7c62a47 commit afb88ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/bit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ macro_rules! shl_impl_all {
493493
)*)
494494
}
495495

496-
shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 }
496+
shl_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
497497

498498
/// The right shift operator `>>`. Note that because this trait is implemented
499499
/// for all integer types with multiple right-hand-side types, Rust's type

0 commit comments

Comments
 (0)