about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2021-09-10 07:30:58 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2021-11-23 20:36:19 +0000
commitd68add9eccf2561380177d07d4e7b31433562a2b (patch)
treef678fe56e0858a55e25f6a725a684c49d45fbc04 /compiler/rustc_parse
parent21224e6ee07b917f7996b27f05c57327f806a026 (diff)
downloadrust-d68add9eccf2561380177d07d4e7b31433562a2b.tar.gz
rust-d68add9eccf2561380177d07d4e7b31433562a2b.zip
review comment: plural of emoji is emoji
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/lexer/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs
index 9403e0af595..1a620968d56 100644
--- a/compiler/rustc_parse/src/lexer/mod.rs
+++ b/compiler/rustc_parse/src/lexer/mod.rs
@@ -224,7 +224,7 @@ impl<'a> StringReader<'a> {
                 token::Ident(sym, is_raw_ident)
             }
             rustc_lexer::TokenKind::InvalidIdent
-                // Do not recover an identifier with emojis if the codepoint is a confusable
+                // Do not recover an identifier with emoji if the codepoint is a confusable
                 // with a recoverable substitution token, like `➖`.
                 if UNICODE_ARRAY
                     .iter()