about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-11 17:14:11 +0200
committerGitHub <noreply@github.com>2019-06-11 17:14:11 +0200
commit2f1d360206cd3a2af1dc7979f19f1e50f00d5f25 (patch)
treeb566e802556940bdb78931f4f9dbb68a999f12f0
parent231b0375f6778bb409305cd3c34bc820d727aab4 (diff)
parentd3461bf6a0a4f790c19ab171ad17f83b3f4bd52c (diff)
downloadrust-2f1d360206cd3a2af1dc7979f19f1e50f00d5f25.tar.gz
rust-2f1d360206cd3a2af1dc7979f19f1e50f00d5f25.zip
Rollup merge of #61724 - aschampion:128-bit-memcmp, r=sfackler
core: use memcmp optimization for 128 bit integer slices

All other sized integer slices do this. From #61665.
-rw-r--r--src/libcore/slice/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index 0e782bef39d..c9c73f4d66e 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -5420,7 +5420,7 @@ macro_rules! impl_marker_for {
 }
 
 impl_marker_for!(BytewiseEquality,
-                 u8 i8 u16 i16 u32 i32 u64 i64 usize isize char bool);
+                 u8 i8 u16 i16 u32 i32 u64 i64 u128 i128 usize isize char bool);
 
 #[doc(hidden)]
 unsafe impl<'a, T> TrustedRandomAccess for Iter<'a, T> {