Fix a typo in a comment.
This commit is contained in:
parent
d16b1f4a8c
commit
cfc1aa3c5d
1 changed files with 3 additions and 3 deletions
|
@ -265,9 +265,9 @@ impl TokenCursor {
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
fn inlined_next(&mut self) -> (Token, Spacing) {
|
fn inlined_next(&mut self) -> (Token, Spacing) {
|
||||||
loop {
|
loop {
|
||||||
// FIXME: we currently don't return `Delimiter` open/close delims. To fix #67062 we will
|
// FIXME: we currently don't return `Delimiter::Invisible` open/close delims. To fix
|
||||||
// need to, whereupon the `delim != Delimiter::Invisible` conditions below can be
|
// #67062 we will need to, whereupon the `delim != Delimiter::Invisible` conditions
|
||||||
// removed.
|
// below can be removed.
|
||||||
if let Some(tree) = self.tree_cursor.next_ref() {
|
if let Some(tree) = self.tree_cursor.next_ref() {
|
||||||
match tree {
|
match tree {
|
||||||
&TokenTree::Token(ref token, spacing) => {
|
&TokenTree::Token(ref token, spacing) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue