rust/library/alloc/tests
Matthias Krüger 0acb5b8513
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
2024-06-07 20:14:27 +02:00
..
arc.rs
autotraits.rs apply fmt 2024-01-11 15:04:48 +03:00
borrow.rs
boxed.rs
btree_set_hash.rs
c_str.rs
const_fns.rs
cow_str.rs
fmt.rs rename ptr::invalid -> ptr::without_provenance 2024-02-21 20:15:52 +01:00
heap.rs
lib.rs Rollup merge of #124012 - slanterns:as_slice_stabilize, r=BurntSushi 2024-06-07 20:14:27 +02:00
linked_list.rs
rc.rs
slice.rs
str.rs fix #124714 str.to_lowercase sigma handling 2024-05-08 17:05:10 +02:00
string.rs try_with_capacity for Vec, VecDeque, String 2024-03-01 18:24:02 +00:00
task.rs will_wake tests fail on Miri and that is expected 2024-03-05 09:33:55 +01:00
thin_box.rs
vec_deque_alloc_error.rs Ignore vec_deque_alloc_error::test_shrink_to_unwind test on non-unwind targets 2024-06-03 13:46:56 +02:00
vec_deque.rs try_with_capacity for Vec, VecDeque, String 2024-03-01 18:24:02 +00:00
vec.rs Implement Vec::pop_if 2024-03-26 18:25:24 -04:00