diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2016-07-18 22:44:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-18 22:44:56 +0900 |
| commit | 41fef433a0c64a19d29d5334e547e4f4d6930e7c (patch) | |
| tree | 2e7f1bc71abacefdc5cb32909d55d45c05776aae | |
| parent | 6cc49e51de7ea9b0cc4aff437975544233c57107 (diff) | |
| parent | b91acc9f2a9e80dfa04af62d20bf69d302a1a5e2 (diff) | |
| download | rust-41fef433a0c64a19d29d5334e547e4f4d6930e7c.tar.gz rust-41fef433a0c64a19d29d5334e547e4f4d6930e7c.zip | |
Rollup merge of #34807 - sanxiyn:dump-mir, r=nagisa
Remove extra newlines in MIR dump
| -rw-r--r-- | src/librustc_mir/pretty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/pretty.rs b/src/librustc_mir/pretty.rs index 515620d4253..c9ca1a963a4 100644 --- a/src/librustc_mir/pretty.rs +++ b/src/librustc_mir/pretty.rs @@ -195,7 +195,7 @@ fn write_basic_block(tcx: TyCtxt, ALIGN, comment(tcx, data.terminator().source_info))?; - writeln!(w, "{}}}\n", INDENT) + writeln!(w, "{}}}", INDENT) } fn comment(tcx: TyCtxt, SourceInfo { span, scope }: SourceInfo) -> String { |
