1
Fork 0

Rollup merge of #34807 - sanxiyn:dump-mir, r=nagisa

Remove extra newlines in MIR dump
This commit is contained in:
Seo Sanghyeon 2016-07-18 22:44:56 +09:00 committed by GitHub
commit 41fef433a0

View file

@ -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 {