Skip to content

Commit 04305c0

Browse files
committed
Remove [] <-> () From convertions
... with this convertions some tests fail :(
1 parent 4d04a06 commit 04305c0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

library/core/src/tuple.rs

-14
Original file line numberDiff line numberDiff line change
@@ -199,17 +199,3 @@ macro_rules! last_type {
199199
}
200200

201201
tuple_impls!(E D C B A Z Y X W V U T);
202-
203-
#[stable(feature = "array_tuple_conv", since = "1.63.0")]
204-
impl<T> From<()> for [T; 0] {
205-
fn from((): ()) -> Self {
206-
[]
207-
}
208-
}
209-
210-
#[stable(feature = "array_tuple_conv", since = "1.63.0")]
211-
impl<T> From<[T; 0]> for () {
212-
fn from([]: [T; 0]) -> Self {
213-
()
214-
}
215-
}

0 commit comments

Comments
 (0)