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

Cherry pick fixes from #108475 for backport. #37

Merged
merged 2 commits into from
Feb 27, 2023

Commits on Feb 27, 2023

  1. Fix VecDeque::shrink_to and add tests.

    This adds both a test specific to #108453 as well as an exhaustive test
    that goes through all possible combinations of head index, length and target capacity
    for a deque with capacity 16.
    Sp00ph authored and thomcc committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    d0106e2 View commit details
    Browse the repository at this point in the history
  2. Disambiguate comments

    Sp00ph authored and thomcc committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    37a6a80 View commit details
    Browse the repository at this point in the history