diff options
| author | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 17:04:46 -0400 |
|---|---|---|
| committer | Yuri Astrakhan <YuriAstrakhan@gmail.com> | 2022-03-30 17:04:46 -0400 |
| commit | a6dd6582540ad20e385bcf8326968aa94f33694b (patch) | |
| tree | 2749d58655ec5d303ed2908f93838efd0684691c /compiler/rustc_parse/src/parser | |
| parent | c9c6e22f4baf060cfb42b4a99de6aeba22acbe9d (diff) | |
| download | rust-a6dd6582540ad20e385bcf8326968aa94f33694b.tar.gz rust-a6dd6582540ad20e385bcf8326968aa94f33694b.zip | |
Addressed comments by @compiler-errors and @bjorn3
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index abcf9ab2047..a970d180b1a 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -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; |
