diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 11:10:25 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 11:14:39 +1000 |
| commit | cfc1aa3c5dd4ff473130aac99e70aa299221cd36 (patch) | |
| tree | e8b98dd40d0c1141ef2fd02bbaea7058f044ea0f /compiler/rustc_parse/src/parser/mod.rs | |
| parent | d16b1f4a8c2668a6d9d5170dd6d78aa79ac5c80a (diff) | |
| download | rust-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.rs | 6 |
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) => { |
