mirror of
https://github.com/servo/servo.git
synced 2025-08-25 07:08:21 +01:00
Auto merge of #18498 - upsuper:enum-keyword-exhaustive, r=emilio
Use exhaustive match for cloning keyword value by default for property using enum class rather than casting them to `u8` then do inexhaustive match. I don't see why we couldn't do this. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18498) <!-- Reviewable:end -->
This commit is contained in:
commit
9dd0513647
9 changed files with 11 additions and 21 deletions
|
@ -1793,7 +1793,6 @@ ${helpers.single_keyword("-moz-orient",
|
|||
gecko_ffi_name="mOrient",
|
||||
gecko_enum_prefix="StyleOrient",
|
||||
spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-orient)",
|
||||
gecko_inexhaustive="True",
|
||||
animation_value_type="discrete")}
|
||||
|
||||
<%helpers:longhand name="will-change" products="gecko" animation_value_type="discrete"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue