Rollup merge of #125962 - Coekjan:const-binary-heap, r=Amanieu · patricklam/verify-rust-std@21f6b65 (original) (raw)
File tree
1 file changed
lines changed
- alloc/src/collections/binary_heap
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -484,7 +484,7 @@ impl<T: Ord, A: Allocator> BinaryHeap<T, A> { | ||
484 | 484 | /// heap.push(4); |
485 | 485 | /// ``` |
486 | 486 | #[unstable(feature = "allocator_api", issue = "32838")] |
487 | -#[rustc_const_unstable(feature = "const_binary_heap_new_in", issue = "112353")] | |
487 | +#[rustc_const_unstable(feature = "const_binary_heap_new_in", issue = "125961")] | |
488 | 488 | #[must_use] |
489 | 489 | pub const fn new_in(alloc: A) -> BinaryHeap<T, A> { |
490 | 490 | BinaryHeap { data: Vec::new_in(alloc) } |