diff --git a/src/binary_heap.rs b/src/binary_heap.rs index 3299f25e..7010037f 100644 --- a/src/binary_heap.rs +++ b/src/binary_heap.rs @@ -412,6 +412,17 @@ impl<'a, T> Drop for Hole<'a, T> { } } +impl Default for BinaryHeap +where + T: Ord, + N: ArrayLength, + K: Kind, +{ + fn default() -> Self { + Self::new() + } +} + impl Clone for BinaryHeap where N: ArrayLength,