提交 4436bca5 编写于 作者: K keatinge

fix style

上级 dcb53d75
......@@ -3437,11 +3437,9 @@ fn parse_pats(&mut self) -> PResult<'a, Vec<P<Pat>>> {
"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);
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册