about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-12-29 09:16:46 +0100
committerSimon Sapin <simon.sapin@exyr.org>2020-12-29 09:16:46 +0100
commit61c49d4042af6d392784925cc53afdc830740cd4 (patch)
tree17343edb7c66768516166dc4d1c6a418fa44cfcd /library/alloc/src
parent6c523a7a0ef121fe97ad6a367a3f3b92f80dc3f0 (diff)
downloadrust-61c49d4042af6d392784925cc53afdc830740cd4.tar.gz
rust-61c49d4042af6d392784925cc53afdc830740cd4.zip
Stabilize by-value `[T; N]` iterator `core::array::IntoIter`
Tracking issue: https://github.com/rust-lang/rust/issues/65798

This is unblocked now that `min_const_generics` has been stabilized
in https://github.com/rust-lang/rust/pull/79135.

This PR does *not* include the corresponding `IntoIterator` impl,
which is https://github.com/rust-lang/rust/pull/65819.
Instead, an iterator can be constructed through the `new` method.

`new` would become unnecessary when `IntoIterator` is implemented
and might be deprecated then, although it will stay stable.
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 3ac34c9ae28..10eaa31c9e4 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -79,7 +79,6 @@
 #![feature(allocator_api)]
 #![feature(array_chunks)]
 #![feature(array_methods)]
-#![feature(array_value_iter)]
 #![feature(array_windows)]
 #![feature(allow_internal_unstable)]
 #![feature(arbitrary_self_types)]