Fix a typo in a comment.

This commit is contained in:
Nicholas Nethercote 2023-07-31 11:10:25 +10:00
parent d16b1f4a8c
commit cfc1aa3c5d
1 changed files with 3 additions and 3 deletions

View File

@ -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) => {