Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Matching enums with named fields in the previous way yielded the "non_shorthand_field_patterns" warning. The new code shows the shorthand syntax as well as field renaming, so it should be exhaustive ;-)
- Loading branch information