Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Dec 30, 2024
1 parent b56b9be commit 5c6d3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1871,7 +1871,7 @@ impl<'a> Tokenizer<'a> {
let slash = chars.next();
nested -= 1;
if nested == 0 {
s.pop(); // remove the last '/'
s.pop(); // remove the last '*'
break Ok(Some(Token::Whitespace(Whitespace::MultiLineComment(s))));
}
s.push(slash.unwrap());
Expand Down

0 comments on commit 5c6d3ed

Please sign in to comment.