Skip to content

Commit 91bbfd2

Browse files
authored
Rollup merge of rust-lang#34807 - sanxiyn:dump-mir, r=nagisa
Remove extra newlines in MIR dump
2 parents 6aba7be + b91acc9 commit 91bbfd2

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)