Skip to content

Commit 55c6060

Browse files
committed
Format with rustfmt
1 parent 3471be6 commit 55c6060

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
@@ -644,9 +644,7 @@ impl<T, C: Compare<T>> BinaryHeap<T, C> {
644644
/// ```
645645
// #[unstable(feature = "binary_heap_into_iter_sorted", issue = "59278")]
646646
pub fn into_iter_sorted(self) -> IntoIterSorted<T, C> {
647-
IntoIterSorted {
648-
inner: self,
649-
}
647+
IntoIterSorted { inner: self }
650648
}
651649

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

0 commit comments

Comments
 (0)