about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorLukas Kalbertodt <lukas.kalbertodt@gmail.com>2019-07-25 00:39:39 +0200
committerLukas Kalbertodt <lukas.kalbertodt@gmail.com>2019-10-24 15:46:44 +0200
commita2e94ca1ee21f46eb18cd4392fa8e621ebaea20a (patch)
tree176e19a4adfc196795c5a0f0c055e35901890fd9 /src/test/debuginfo/enum-thinlto.rs
parent8e0007f829661e57d008d2e908c95f6e84b04b25 (diff)
downloadrust-a2e94ca1ee21f46eb18cd4392fa8e621ebaea20a.tar.gz
rust-a2e94ca1ee21f46eb18cd4392fa8e621ebaea20a.zip
Add `array::IntoIter` as a consuming/by-value array iterator
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.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions