about summary refs log tree commit diff
path: root/src/libcore/array/iter.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-236/+0
2020-07-05Remove the usage of the LengthAtMost32 traitRoman Proskuryakov-35/+10
2020-03-31fix internal lint falloutBastian Kauschke-9/+9
2019-12-22Format the worldMark Rousskov-38/+16
2019-11-18Use `drop_in_place` in `array::IntoIter::drop`Simon Sapin-4/+18
This skips the loop when the element type is known not to have drop glue, even in debug mode.
2019-11-06The unsafety in `iter.rs` is already documented wonderfullyOliver Scherer-5/+8
2019-10-25Fill tracking issue number for `array_value_iter` and fix Rust versionLukas Kalbertodt-10/+10
2019-10-24Add `array::IntoIter` as a consuming/by-value array iteratorLukas Kalbertodt-0/+266
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.