remove cfg(bootstrap)

This commit is contained in:
Pietro Albini
2021-05-06 13:36:07 +02:00
committed by Mark Rousskov
parent 1c9500a8f4
commit 9e22b844dd
42 changed files with 19 additions and 67 deletions

View File

@@ -156,7 +156,6 @@ impl<T: fmt::Debug, const N: usize> fmt::Debug for [T; N] {
// Note: the `#[rustc_skip_array_during_method_dispatch]` on `trait IntoIterator`
// hides this implementation from explicit `.into_iter()` calls on editions < 2021,
// so those calls will still resolve to the slice implementation, by reference.
#[cfg(not(bootstrap))]
#[stable(feature = "array_into_iter_impl", since = "1.53.0")]
impl<T, const N: usize> IntoIterator for [T; N] {
type Item = T;