summary refs log tree commit diff
path: root/src/libcore/array
AgeCommit message (Collapse)AuthorLines
2019-10-25Fill tracking issue number for `array_value_iter` and fix Rust versionLukas Kalbertodt-11/+11
2019-10-24Add `array::IntoIter` as a consuming/by-value array iteratorLukas Kalbertodt-0/+698
The iterator is implemented using const generics. It implements the traits `Iterator`, `DoubleEndedIterator`, `ExactSizeIterator`, `FusedIterator` and `TrustedLen`. It also contains a public method `new` to create it from an array. `IntoIterator` was not implemented for arrays yet, as there are still some open questions regarding backwards compatibility. This commit only adds the iterator impl and does not yet offer a convenient way to obtain that iterator.