about summary refs log tree commit diff
path: root/src/libcore/array
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-602/+0
2020-07-05Remove LengthAtMost32Roman Proskuryakov-25/+0
2020-07-05Remove the usage of the LengthAtMost32 traitRoman Proskuryakov-77/+19
2020-07-04remove LengthAtMost32 on AsRef/Borrow impl for arrayAndrey Zgarbul-16/+4
2020-05-06Add comment for `Ord` implementation for arrayDonough Liu-0/+1
2020-03-31fix internal lint falloutBastian Kauschke-9/+9
2019-12-22Format the worldMark Rousskov-47/+28
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-3/+3
2019-11-27Update mod.rsDylan DPC-1/+1
2019-11-26Fixes small typo in array docs r? @steveklabnikMark Lodato-1/+1
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-12Snap cfgsMark Rousskov-2/+0
2019-11-06The unsafety in `iter.rs` is already documented wonderfullyOliver Scherer-5/+8
2019-11-06Have tidy ensure that we document all `unsafe` blocks in libcoreOliver Scherer-0/+2
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.