about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-07-31 11:10:25 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-07-31 11:14:39 +1000
commitcfc1aa3c5dd4ff473130aac99e70aa299221cd36 (patch)
treee8b98dd40d0c1141ef2fd02bbaea7058f044ea0f /compiler/rustc_parse/src/parser/mod.rs
parentd16b1f4a8c2668a6d9d5170dd6d78aa79ac5c80a (diff)
downloadrust-cfc1aa3c5dd4ff473130aac99e70aa299221cd36.tar.gz
rust-cfc1aa3c5dd4ff473130aac99e70aa299221cd36.zip
Fix a typo in a comment.
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index 738f9914a0b..1d3489aba1b 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -265,9 +265,9 @@ impl TokenCursor {
     #[inline(always)]
     fn inlined_next(&mut self) -> (Token, Spacing) {
         loop {
-            // FIXME: we currently don't return `Delimiter` open/close delims. To fix #67062 we will
-            // need to, whereupon the `delim != Delimiter::Invisible` conditions below can be
-            // removed.
+            // FIXME: we currently don't return `Delimiter::Invisible` open/close delims. To fix
+            // #67062 we will need to, whereupon the `delim != Delimiter::Invisible` conditions
+            // below can be removed.
             if let Some(tree) = self.tree_cursor.next_ref() {
                 match tree {
                     &TokenTree::Token(ref token, spacing) => {