fix style
This commit is contained in:
parent
dcb53d754b
commit
4436bca5af
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue