Addressed comments by @compiler-errors and @bjorn3

This commit is contained in:
Yuri Astrakhan 2022-03-30 17:04:46 -04:00
parent c9c6e22f4b
commit a6dd658254
10 changed files with 10 additions and 10 deletions

View file

@ -276,7 +276,7 @@ impl<'a> Parser<'a> {
lhs = self.parse_assoc_op_ascribe(lhs, lhs_span)?;
continue;
} else if op == AssocOp::DotDot || op == AssocOp::DotDotEq {
// If we did not have to handle `x..`/`x..=`, it would be pretty easy to
// If we didn't have to handle `x..`/`x..=`, it would be pretty easy to
// generalise it to the Fixity::None code.
lhs = self.parse_range_expr(prec, lhs, op, cur_op_span)?;
break;