fix style

This commit is contained in:
keatinge 2018-01-06 10:05:02 -05:00
parent dcb53d754b
commit 4436bca5af

View File

@ -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);
}
};