We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BinaryHeap::drain
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
This type's other iterator-returning methods indicate that the iterator is arbitrarily ordered, but drain doesn't say either way:
drain
Clears the binary heap, returning an iterator over the removed elements.
The text was updated successfully, but these errors were encountered:
For reference to anyone who wants to fix this, It's the exact same order as all the others.
Sorry, something went wrong.
Note order of BinaryHeap::drain
3d04cb3
Fixes rust-lang#23564
Auto merge of #23617 - steveklabnik:gh23564, r=Manishearth
3569377
Fixes #23564
Rollup merge of rust-lang#23617 - steveklabnik:gh23564, r=Manishearth
b6783e6
Successfully merging a pull request may close this issue.
This type's other iterator-returning methods indicate that the iterator is arbitrarily ordered, but
drain
doesn't say either way:The text was updated successfully, but these errors were encountered: