We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80afd0 commit df67cd6Copy full SHA for df67cd6
1 file changed
src/parser/mod.rs
@@ -14077,11 +14077,16 @@ impl<'a> Parser<'a> {
14077
Some(text) => {
14078
let hint = OptimizerHint {
14079
text: text.into(),
14080
- style: if let Whitespace::SingleLineComment { prefix, .. } = ws {
14081
- OptimizerHintStyle::SingleLine { prefix: prefix.clone() }
+ style: if let Whitespace::SingleLineComment {
+ prefix, ..
14082
+ } = ws
14083
+ {
14084
+ OptimizerHintStyle::SingleLine {
14085
+ prefix: prefix.clone(),
14086
+ }
14087
} else {
14088
OptimizerHintStyle::MultiLine
- }
14089
+ },
14090
};
14091
// Consume the comment token
14092
self.next_token_no_skip();
0 commit comments