mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
`strum` allows us to avoid manually listing enum variant names and also to get their names as static strings. We cannot use this for all cases due to https://github.com/Peternator7/strum/issues/152, but we can still use it to remove a lot of code. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
17 KiB
17 KiB