diff options
| author | Jon Gjengset <jon@thesquareplanet.com> | 2020-07-06 10:33:24 -0400 |
|---|---|---|
| committer | Jon Gjengset <jon@thesquareplanet.com> | 2020-07-06 10:35:33 -0400 |
| commit | 7fb26938b1b88d9f3c0d3046712375e48aeb91ae (patch) | |
| tree | eed02e1d354c7be90e2cf61d66c28c6bbd950907 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 0c03aee8b81185d65b5821518661c30ecdb42de5 (diff) | |
| download | rust-7fb26938b1b88d9f3c0d3046712375e48aeb91ae.tar.gz rust-7fb26938b1b88d9f3c0d3046712375e48aeb91ae.zip | |
Add VecDeque::range* methods
This patch adds `VecDeque::range` and `VecDeque::range_mut` to provide iterators over a sub-range of a `VecDeque`. This behavior can be emulated with `skip` and `take`, but directly providing a `Range` is more ergonomic. This also partially makes up for `VecDeque`'s lack of `SliceIndex` support.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
