fix recursive call

This commit is contained in:
Jorge Aparicio 2015-01-26 10:00:52 -05:00
parent d4b3e7f09c
commit cb896a6e5f
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ impl<T: Ord> FromIterator<T> for BinaryHeap<T> {
}
}
impl<T> IntoIterator for BinaryHeap<T> {
impl<T: Ord> IntoIterator for BinaryHeap<T> {
type Iter = IntoIter<T>;
fn into_iter(self) -> IntoIter<T> {