Skip to content

Commit 63e0602

Browse files
CoAlloc: BinaryHeap: Working around ICE rust-lang/rust issue rust-lang#106473 ICE. WIP
1 parent 3f84cef commit 63e0602

File tree

1 file changed

+1
-1
lines changed
  • library/alloc/src/collections/binary_heap

1 file changed

+1
-1
lines changed

library/alloc/src/collections/binary_heap/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ impl<T: Ord, const N: usize> From<[T; N]> for BinaryHeap<T> {
16521652
}
16531653

16541654
#[stable(feature = "binary_heap_extras_15", since = "1.5.0")]
1655-
impl<T> From<BinaryHeap<T>> for Vec<T> {
1655+
impl<T> From<BinaryHeap<T>> for Vec<T, Global, DEFAULT_COOP_PREFERRED> {
16561656
/// Converts a `BinaryHeap<T>` into a `Vec<T>`.
16571657
///
16581658
/// This conversion requires no data movement or allocation, and has

0 commit comments

Comments
 (0)