From 4436bca5af397da88854900508ae9726ee117e26 Mon Sep 17 00:00:00 2001 From: keatinge Date: Sat, 6 Jan 2018 10:05:02 -0500 Subject: [PATCH] fix style --- src/libsyntax/parse/parser.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 3fd73418df5..897f199f25e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -3437,11 +3437,9 @@ fn parse_pats(&mut self) -> PResult<'a, Vec>> { "unexpected token `||` after pattern", "did you mean to use `|` to specify multiple patterns?"); self.bump(); - } - else if self.check(&token::BinOp(token::Or)) { + } else if self.check(&token::BinOp(token::Or)) { self.bump(); - } - else { + } else { return Ok(pats); } }; -- GitLab