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

Implement TrustedRandomAccess for vec::Drain #81617

Closed

Commits on Oct 10, 2021

  1. Configuration menu
    Copy the full SHA
    4a46acd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50dbccc View commit details
    Browse the repository at this point in the history
  3. Only exhaust the slice iterator in vec::Drain if the items need dro…

    …pping
    
    Otherwise this simply causes advancing of the iterator with no other
    effects, which is unnecessary work.
    sdroege committed Oct 10, 2021
    Configuration menu
    Copy the full SHA
    19480c1 View commit details
    Browse the repository at this point in the history