about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2021-01-31 01:47:25 +0100
committerGitHub <noreply@github.com>2021-01-31 01:47:25 +0100
commit1e99f26894a766f5861ae2805c13e915e74493f0 (patch)
treebc5f9dc73d235f276c5e593edef9d9c5f66ddbc3 /library/alloc/src
parent054c29d22ca171ea8565cc5c53dbbf0d473f05eb (diff)
parent83d32b0a27350fd640cb29d0514598e4630874bb (diff)
downloadrust-1e99f26894a766f5861ae2805c13e915e74493f0.tar.gz
rust-1e99f26894a766f5861ae2805c13e915e74493f0.zip
Rollup merge of #80470 - SimonSapin:array-intoiter-type, r=m-ou-se
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 0f9c5af4744..13f4d902d3b 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -78,7 +78,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)]