Rollup merge of #34807 - sanxiyn:dump-mir, r=nagisa
Remove extra newlines in MIR dump
This commit is contained in:
commit
41fef433a0
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ fn write_basic_block(tcx: TyCtxt,
|
||||||
ALIGN,
|
ALIGN,
|
||||||
comment(tcx, data.terminator().source_info))?;
|
comment(tcx, data.terminator().source_info))?;
|
||||||
|
|
||||||
writeln!(w, "{}}}\n", INDENT)
|
writeln!(w, "{}}}", INDENT)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn comment(tcx: TyCtxt, SourceInfo { span, scope }: SourceInfo) -> String {
|
fn comment(tcx: TyCtxt, SourceInfo { span, scope }: SourceInfo) -> String {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue