bump bootstrap compiler to 1.55
This commit is contained in:
committed by
Mark Rousskov
parent
8d57c0ab2b
commit
24f9de5a44
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user