diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-07 20:14:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-07 20:14:27 +0200 |
| commit | 0acb5b8513e727ebb4f63d8d8ee8cfa285342a89 (patch) | |
| tree | 061d3d0cf66eb93df6d681bd091b6cd3572909fe /library/alloc/tests | |
| parent | e3c3ce62d7a8328120aa2abf60a34576f3862fde (diff) | |
| parent | d5d56d00e7b940e7abc997e9c4abbf00dd3198a9 (diff) | |
Rollup merge of #124012 - slanterns:as_slice_stabilize, r=BurntSushi
Stabilize `binary_heap_as_slice`
This PR stabilizes `binary_heap_as_slice`:
```rust
// std::collections::BinaryHeap
impl BinaryHeap<T> {
pub fn as_slice(&self) -> &[T]
}
```
<br>
Tracking issue: https://github.com/rust-lang/rust/issues/83659.
Implementation PR: https://github.com/rust-lang/rust/pull/82331.
FCPs already completed in the tracking issue.
Closes https://github.com/rust-lang/rust/issues/83659.
r? libs-api
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs index 8451be63c2b..89538f272f0 100644 --- a/library/alloc/tests/lib.rs +++ b/library/alloc/tests/lib.rs @@ -24,7 +24,6 @@ #![feature(binary_heap_into_iter_sorted)] #![feature(binary_heap_drain_sorted)] #![feature(slice_ptr_get)] -#![feature(binary_heap_as_slice)] #![feature(inplace_iteration)] #![feature(iter_advance_by)] #![feature(iter_next_chunk)] |
