Skip to content

Commit 0994cdb

Browse files
committed
fmt
1 parent 6fa908e commit 0994cdb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,13 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
663663
p!(print_def_path(def_id, args));
664664
} else {
665665
let sig = self.tcx().fn_sig(def_id).instantiate(self.tcx(), args);
666-
p!("{{function item type ", print_value_path(def_id, args), " (", print(sig) ,")}}");
666+
p!(
667+
"{{function item type ",
668+
print_value_path(def_id, args),
669+
" (",
670+
print(sig),
671+
")}}"
672+
);
667673
}
668674
}
669675
ty::FnPtr(ref bare_fn) => p!(print(bare_fn)),

0 commit comments

Comments
 (0)