You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tracking issue for the .next_chunk() and .next_chunk_back() method on iterators which allows you to advance the iterator N elements and return an array [T; N]
Public API
use core::array;traitIterator{typeItem;fnnext_chunk<constN:usize>(&mutself) -> Result<[Self::Item;N], array::IntoIter<Self::Item,N>>whereSelf:Sized;}traitDoubleEndedIterator{fnnext_chunk_back<constN:usize>(&mutself) -> Result<[Self::Item;N], array::IntoIter<Self::Item,N>>whereSelf:Sized;}
View all comments
Feature gate:
#![feature(iter_next_chunk)]This is a tracking issue for the
.next_chunk()and.next_chunk_back()method on iterators which allows you to advance the iteratorNelements and return an array[T; N]Public API
Steps / History
Iterator::next_chunk#93700slice_iter.copied().next_chunk()#103166DoubleEndedIterator::next_chunk_back#156737Unresolved Questions
next_array()ornext_array_chunk().N = 0?