Skip to content

Commit cb896a6

Browse files
author
Jorge Aparicio
committed
fix recursive call
1 parent d4b3e7f commit cb896a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/binary_heap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ impl<T: Ord> FromIterator<T> for BinaryHeap<T> {
655655
}
656656
}
657657

658-
impl<T> IntoIterator for BinaryHeap<T> {
658+
impl<T: Ord> IntoIterator for BinaryHeap<T> {
659659
type Iter = IntoIter<T>;
660660

661661
fn into_iter(self) -> IntoIter<T> {

0 commit comments

Comments
 (0)