Skip to content

Commit f0f1e70

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

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
@@ -14076,7 +14076,7 @@ impl<'a> Parser<'a> {
1407614076
return Ok(if supports_singleline && comment.starts_with("+") {
1407714077
let text = comment.split_at(1).1.into();
1407814078
let prefix = prefix.clone();
14079-
self.next_token_no_skip(); // ~ consume the token
14079+
self.next_token_no_skip(); // Consume the comment token
1408014080
Some(OptimizerHint {
1408114081
text,
1408214082
style: OptimizerHintStyle::SingleLine { prefix },

0 commit comments

Comments
 (0)