Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VecDeque::range* methods #74099

Merged
merged 3 commits into from
Jul 11, 2020
Merged

Add VecDeque::range* methods #74099

merged 3 commits into from
Jul 11, 2020

Commits on Jul 6, 2020

  1. 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.
    jonhoo committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    7fb2693 View commit details
    Browse the repository at this point in the history
  2. fixups

    jonhoo committed Jul 6, 2020
    Configuration menu
    Copy the full SHA
    8872ec3 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Add tracking issue

    jonhoo committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    a1a19cb View commit details
    Browse the repository at this point in the history