Closed
Description
Feature gate: #![feature(binary_heap_as_slice)]
This is a tracking issue for std::collections::BinaryHeap::as_slice
, a method that returns a slice of the data that is stored in the BinaryHeap (the order is arbitrary).
Public API
impl BinaryHeap<T> {
pub fn as_slice(&self) -> &[T]
}
Steps / History
- Implementation: alloc: Added
as_slice
method toBinaryHeap
collection #82331 - Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.