From 4436bca5af397da88854900508ae9726ee117e26 Mon Sep 17 00:00:00 2001 From: keatinge Date: Sat, 6 Jan 2018 10:05:02 -0500 Subject: fix style --- src/libsyntax/parse/parser.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libsyntax/parse') 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 @@ impl<'a> Parser<'a> { "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); } }; -- cgit 1.4.1-3-g733a5