review comments

This commit is contained in:
Esteban Küber
2019-03-19 13:17:25 -07:00
parent 6007e6f649
commit 757eb67992
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -6902,7 +6902,9 @@ fn consume_block(&mut self, delim: token::DelimToken) {
}
}
fn parse_record_struct_body(&mut self) -> PResult<'a, (Vec<StructField>, bool)> {
fn parse_record_struct_body(
&mut self,
) -> PResult<'a, (Vec<StructField>, /* recovered */ bool)> {
let mut fields = Vec::new();
let mut recovered = false;
if self.eat(&token::OpenDelim(token::Brace)) {