Skip to content

Commit 7689e21

Browse files
committed
Fix lint elided_lifetimes_in_paths
This change was made in rust-lang/rust@857530ce, part of the transition of liballoc to the 2018 edition. Overlooked here in sekineh#34.
1 parent 4601ee7 commit 7689e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/binary_heap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ impl<T, C> BinaryHeap<T, C> {
11061106
/// }
11071107
/// ```
11081108
// #[stable(feature = "rust1", since = "1.0.0")]
1109-
pub fn iter(&self) -> Iter<T> {
1109+
pub fn iter(&self) -> Iter<'_, T> {
11101110
Iter {
11111111
iter: self.data.iter(),
11121112
}

0 commit comments

Comments
 (0)