Skip to content

BinaryHeap::drain doesn't document its iteration order #23564

Closed
@apasel422

Description

@apasel422

This type's other iterator-returning methods indicate that the iterator is arbitrarily ordered, but drain doesn't say either way:

Clears the binary heap, returning an iterator over the removed elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions