diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-10 23:26:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-10 23:26:36 -0700 |
| commit | 2da709ea212871674800c3808e548d756cdca249 (patch) | |
| tree | ebd7d84dffbc08f5fa15c702927aa2702141d26c /src/libstd/sys/unix/process/process_unix.rs | |
| parent | 427ef98bc3ed87190f389bebc64cc76604c0213a (diff) | |
| parent | a1a19cbbe1c17dc03ca689db002181c9bd95f529 (diff) | |
| download | rust-2da709ea212871674800c3808e548d756cdca249.tar.gz rust-2da709ea212871674800c3808e548d756cdca249.zip | |
Rollup merge of #74099 - jonhoo:deque-range, r=dtolnay
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/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
