about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-07-09 09:30:08 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-07-10 07:13:22 -0400
commit63fdf1a5274d19865ba27742b3b5c4e0c94b1838 (patch)
tree3410f55d7daaf4ebf2c90112bbc161c4df17dd2b /src/libsyntax/parse/parser.rs
parentdaf1b29f298ec7e5c345764554e6d03ac65134de (diff)
downloadrust-63fdf1a5274d19865ba27742b3b5c4e0c94b1838.tar.gz
rust-63fdf1a5274d19865ba27742b3b5c4e0c94b1838.zip
Remove needless indent arguments
We're always indenting by INDENT_UNIT anyway
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 7dd7000b454..83dbff6b2d5 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -4591,7 +4591,7 @@ impl<'a> Parser<'a> {
                         s.ibox(INDENT_UNIT);
                         s.bopen();
                         s.print_stmt(&stmt);
-                        s.bclose_maybe_open(stmt.span, INDENT_UNIT, false)
+                        s.bclose_maybe_open(stmt.span, false)
                     });
                     e.span_suggestion(
                         stmt_span,