Skip to content

Commit 10d0742

Browse files
committed
update missed std usages
1 parent 66dbf08 commit 10d0742

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/visualizer/allocation_reports.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub(crate) fn render_allocation_reports_ui(
9292
(AllocationReportVisualizeSorting::None, _) => {}
9393
(AllocationReportVisualizeSorting::Idx, true) => allocations.sort_by_key(|(idx, _)| *idx),
9494
(AllocationReportVisualizeSorting::Idx, false) => {
95-
allocations.sort_by_key(|(idx, _)| std::cmp::Reverse(*idx))
95+
allocations.sort_by_key(|(idx, _)| core::cmp::Reverse(*idx))
9696
}
9797
(AllocationReportVisualizeSorting::Name, true) => {
9898
allocations.sort_by(|(_, alloc1), (_, alloc2)| alloc1.name.cmp(&alloc2.name))
@@ -104,7 +104,7 @@ pub(crate) fn render_allocation_reports_ui(
104104
allocations.sort_by_key(|(_, alloc)| alloc.size)
105105
}
106106
(AllocationReportVisualizeSorting::Size, false) => {
107-
allocations.sort_by_key(|(_, alloc)| std::cmp::Reverse(alloc.size))
107+
allocations.sort_by_key(|(_, alloc)| core::cmp::Reverse(alloc.size))
108108
}
109109
}
110110

0 commit comments

Comments
 (0)