about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-01 19:04:37 +0000
committerbors <bors@rust-lang.org>2021-08-01 19:04:37 +0000
commit2827db2b137e899242e81f1beea39ae26e245153 (patch)
treeefa56d39851a4bf021de1868b5403842bc1e854a /library/core/src/array
parent4e21ef2a4eca12180e24a345d66066fc1e4e36da (diff)
parent24f9de5a44478116bfabca5ebeca53981cc28146 (diff)
downloadrust-2827db2b137e899242e81f1beea39ae26e245153.tar.gz
rust-2827db2b137e899242e81f1beea39ae26e245153.zip
Auto merge of #87622 - pietroalbini:bump-bootstrap, r=Mark-Simulacrum
Bump bootstrap compiler to 1.55

Changing the cfgs for stdarch is missing, but my understanding is that we don't need to do it as part of this PR?

r? `@Mark-Simulacrum`
Diffstat (limited to 'library/core/src/array')
-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 {