Skip to content

Commit b91acc9

Browse files
committed
Remove extra newlines in MIR dump
1 parent 4a12a70 commit b91acc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ fn write_basic_block(tcx: TyCtxt,
195195
ALIGN,
196196
comment(tcx, data.terminator().source_info))?;
197197

198-
writeln!(w, "{}}}\n", INDENT)
198+
writeln!(w, "{}}}", INDENT)
199199
}
200200

201201
fn comment(tcx: TyCtxt, SourceInfo { span, scope }: SourceInfo) -> String {

0 commit comments

Comments
 (0)