mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-11 23:33:00 +00:00
fix style
This commit is contained in:
parent
dcb53d754b
commit
4436bca5af
@ -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…
Reference in New Issue
Block a user