We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::collections::BinaryHeap is a max-heap. A very common use case for users will be to make a min-heap. The basic example should include a min-heap.