The feature gate for the issue is #![feature(array_chunks)].
Also tracks as_(r)chunks(_mut) in #![feature(slice_as_chunks)] -- these were FCPed starting at #74985 (comment) below.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Unresolved Questions
Implementation history
The feature gate for the issue is
#![feature(array_chunks)].Also tracks
as_(r)chunks(_mut)in#![feature(slice_as_chunks)]-- these were FCPed starting at #74985 (comment) below.About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
RestrictMakeNto values greater than 0 at compile time instead of using a runtime panic.<[T]>::array_*methods fail to compile on 0 len arrays #99471N == 0is unreachable due to conditionals Tracking Issue for slice::array_chunks #74985 (comment)slice_as_chunkslibrary feature #139656Unresolved Questions
[T]::array_chunksreally need to be an iterator? #76354Implementation history
slice::array_chunksto std #74373slice::array_chunks_mut#75021as_chunks{_mut}in Add [T]::as_chunks(_mut) #76635as_rchunks{_mut}and unchecked versions in Addas_rchunks(and friends) to slices #78818as_(r)chunkin constifyslice_as_chunks(unstable) #111453slice_as_chunkslibrary feature #139656