about summary refs log tree commit diff
path: root/library/core/src/array/equality.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro.albini@ferrous-systems.com>2021-07-30 14:46:56 +0200
committerMark Rousskov <mark.simulacrum@gmail.com>2021-08-01 11:19:24 -0400
commit24f9de5a44478116bfabca5ebeca53981cc28146 (patch)
tree53a784e7602ebbf5f3da151fea7ba16f45c2e0c1 /library/core/src/array/equality.rs
parent8d57c0ab2b2e1aae07c1b8638358fb7a909940bc (diff)
downloadrust-24f9de5a44478116bfabca5ebeca53981cc28146.tar.gz
rust-24f9de5a44478116bfabca5ebeca53981cc28146.zip
bump bootstrap compiler to 1.55
Diffstat (limited to 'library/core/src/array/equality.rs')
-rw-r--r--library/core/src/array/equality.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/core/src/array/equality.rs b/library/core/src/array/equality.rs
index 6d66b9e2f27..a882d18b151 100644
--- a/library/core/src/array/equality.rs
+++ b/library/core/src/array/equality.rs
@@ -125,11 +125,6 @@ impl<T: PartialEq<Other>, Other, const N: usize> SpecArrayEq<Other, N> for T {
 }
 
 impl<T: PartialEq<U> + IsRawEqComparable<U>, U, const N: usize> SpecArrayEq<U, N> for T {
-    #[cfg(bootstrap)]
-    fn spec_eq(a: &[T; N], b: &[U; N]) -> bool {
-        a[..] == b[..]
-    }
-    #[cfg(not(bootstrap))]
     fn spec_eq(a: &[T; N], b: &[U; N]) -> bool {
         // SAFETY: This is why `IsRawEqComparable` is an `unsafe trait`.
         unsafe {