Tracking Issue for additional array::IntoIter
constructors (feature array_into_iter_constructors
)
#91583
Open
1 of 6 tasks
Labels
A-array
Area: `[T; N]`
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(array_into_iter_constructors)]
This is a tracking issue for the
from_raw_parts
new_unchecked
andempty
constructors oncore::array::IntoIter
.This allows creating such an iterator with something other than a fully-initialized array.
Public API
Steps / History
array::IntoIter::{empty, from_raw_parts}
#91341Unresolved Questions
from_raw_parts
or something else?ArrayVec
-like type (like howVec
hasfrom_raw_parts
instead ofvec::IntoIter
having it), instead of making theIntoIter
directly?new_unchecked
? It was previouslyfrom_raw_parts
, but was changed at reviewer request in the initial PR. Then after that,new
was deprecated, which makes me feel likenew_unchecked
is a bit odd too.Iterator::next_chunk
#93700 (temporarily) added a duplicate of this calledwith_partial
, so that's another possible name.The text was updated successfully, but these errors were encountered: