Skip to content

Commit e294c42

Browse files
authored
Rollup merge of rust-lang#61724 - aschampion:128-bit-memcmp, r=sfackler
core: use memcmp optimization for 128 bit integer slices All other sized integer slices do this. From rust-lang#61665.
2 parents 5fa30ca + d3461bf commit e294c42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5420,7 +5420,7 @@ macro_rules! impl_marker_for {
54205420
}
54215421

54225422
impl_marker_for!(BytewiseEquality,
5423-
u8 i8 u16 i16 u32 i32 u64 i64 usize isize char bool);
5423+
u8 i8 u16 i16 u32 i32 u64 i64 u128 i128 usize isize char bool);
54245424

54255425
#[doc(hidden)]
54265426
unsafe impl<'a, T> TrustedRandomAccess for Iter<'a, T> {

0 commit comments

Comments
 (0)