Skip to content

Commit

Permalink
CoAlloc: BinaryHeap: Working around ICE rust-lang/rust issue rust-lan…
Browse files Browse the repository at this point in the history
…g#106473 ICE. WIP
  • Loading branch information
peter-lyons-kehl committed Jan 23, 2023
1 parent 3334be3 commit 969bc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/binary_heap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ impl<T: Ord, const N: usize> From<[T; N]> for BinaryHeap<T> {
}

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

0 comments on commit 969bc2c

Please sign in to comment.