Skip to content

Commit a989137

Browse files
authored
Merge pull request sekineh#24 from davidli2010/format
Format with rustfmt
2 parents f67f0fb + 55c6060 commit a989137

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/binary_heap.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,7 @@ impl<T, C: Compare<T>> BinaryHeap<T, C> {
645645
/// ```
646646
// #[unstable(feature = "binary_heap_into_iter_sorted", issue = "59278")]
647647
pub fn into_iter_sorted(self) -> IntoIterSorted<T, C> {
648-
IntoIterSorted {
649-
inner: self,
650-
}
648+
IntoIterSorted { inner: self }
651649
}
652650

653651
/// Returns the greatest item in the binary heap, or `None` if it is empty.

0 commit comments

Comments
 (0)