Remove [] <-> () From convertions

... with this convertions some tests fail :(
This commit is contained in:
Maybe Waffle 2022-06-02 13:12:15 +04:00
parent 4d04a062c8
commit 04305c05d3

View File

@ -199,17 +199,3 @@ macro_rules! last_type {
}
tuple_impls!(E D C B A Z Y X W V U T);
#[stable(feature = "array_tuple_conv", since = "1.63.0")]
impl<T> From<()> for [T; 0] {
fn from((): ()) -> Self {
[]
}
}
#[stable(feature = "array_tuple_conv", since = "1.63.0")]
impl<T> From<[T; 0]> for () {
fn from([]: [T; 0]) -> Self {
()
}
}