Skip to content

Commit 7c62a47

Browse files
committed
fix order on shl impl
this doesn't fix any bugs, it just looks more consistent with the other impl's
1 parent 81d8edc commit 7c62a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)