about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-31 04:57:28 +0200
committerGitHub <noreply@github.com>2022-03-31 04:57:28 +0200
commit1b7d6dbd3043a002279e9ebafc0b082f4d891200 (patch)
treec52a1a6ff3a746fa75dc69b5edd1a15c7dfcfaae /compiler/rustc_parse/src/parser/expr.rs
parentc90a94707f19c69a9ef5cecb016e08f771e5b294 (diff)
parent8d7b124c1f8d3ed8784b5c1a092c5d8016f6935a (diff)
downloadrust-1b7d6dbd3043a002279e9ebafc0b082f4d891200.tar.gz
rust-1b7d6dbd3043a002279e9ebafc0b082f4d891200.zip
Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors
Spellchecking compiler comments

This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
-rw-r--r--compiler/rustc_parse/src/parser/expr.rs2
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 148e0a24ec3..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 didn’t 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;