Skip to content

Commit defb469

Browse files
committed
Update comment
1 parent 54d4cac commit defb469

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxide/src/extractor/arbitrary_property_machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ impl Machine for ArbitraryPropertyMachine<ParsingValueState> {
231231
return self.restart()
232232
}
233233

234-
// An `!` at the top-level must be followed by "important" *and* be at the end
235-
// otherwise its invalid
234+
// An `!` at the top-level is invalid. We don't allow things to end with
235+
// `!important` either as we have dedicated syntax for this.
236236
Class::Exclamation if self.bracket_stack.is_empty() => {
237237
return self.restart();
238238
}

0 commit comments

Comments
 (0)