Skip to content

Commit 1a51a1f

Browse files
xitepiffyio
andauthored
Update src/parser/mod.rs
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
1 parent 1bcac76 commit 1a51a1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14035,7 +14035,7 @@ impl<'a> Parser<'a> {
1403514035
return Ok(if supports_singleline && comment.starts_with("+") {
1403614036
let text = comment.split_at(1).1.into();
1403714037
let prefix = prefix.clone();
14038-
self.next_token_no_skip(); // ~ consume the token
14038+
self.next_token_no_skip(); // Consume the comment token
1403914039
Some(OptimizerHint {
1404014040
text,
1404114041
style: OptimizerHintStyle::SingleLine { prefix },

0 commit comments

Comments
 (0)