diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2016-07-14 05:29:50 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2016-07-14 05:29:50 +0900 |
| commit | b91acc9f2a9e80dfa04af62d20bf69d302a1a5e2 (patch) | |
| tree | 3ef84babf751bab1095c76be44f6cc1113e4587e | |
| parent | 4a12a70a5c516d4aa5e86de52a62f41b67ab8bc0 (diff) | |
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 { |
