Skip to content

Commit d6294cc

Browse files
committed
Fix fmt.
1 parent b74d2a3 commit d6294cc

File tree

1 file changed

+3
-1
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+3
-1
lines changed

compiler/rustc_middle/src/mir/mono.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,9 @@ impl<'tcx> CodegenUnit<'tcx> {
558558
}
559559
fn item_sort_key<'tcx>(tcx: TyCtxt<'tcx>, item: MonoItem<'tcx>) -> ItemSortKey<'tcx> {
560560
ItemSortKey(
561-
local_item_id(item).map(|def_id| tcx.def_span(def_id).find_ancestor_not_from_macro()).flatten(),
561+
local_item_id(item)
562+
.map(|def_id| tcx.def_span(def_id).find_ancestor_not_from_macro())
563+
.flatten(),
562564
local_item_id(item).map(|def_id| tcx.def_path(def_id).to_string_no_crate_verbose()),
563565
item.symbol_name(tcx),
564566
)

0 commit comments

Comments
 (0)