Import the 2021 prelude in the core crate

This commit is contained in:
Daniel Paoliello
2024-03-25 11:02:02 -07:00
parent cb7c63606e
commit d261647c93
16 changed files with 7 additions and 23 deletions

View File

@@ -1,5 +1,4 @@
use crate::cmp::BytewiseEq;
use crate::convert::TryInto;
#[stable(feature = "rust1", since = "1.0.0")]
impl<T, U, const N: usize> PartialEq<[U; N]> for [T; N]

View File

@@ -6,7 +6,7 @@
use crate::borrow::{Borrow, BorrowMut};
use crate::cmp::Ordering;
use crate::convert::{Infallible, TryFrom};
use crate::convert::Infallible;
use crate::error::Error;
use crate::fmt;
use crate::hash::{self, Hash};