Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use strum #2439

Open
larseggert opened this issue Feb 12, 2025 · 0 comments · May be fixed by #2440
Open

Use strum #2439

larseggert opened this issue Feb 12, 2025 · 0 comments · May be fixed by #2440

Comments

@larseggert
Copy link
Collaborator

There is FromRepr in strum_macros, which is already a dependency for Firefox. If we want to use this, I suggest a separate PR, since it will probably be useful for other enums.

Originally posted by @larseggert in #2438 (comment)

larseggert added a commit to larseggert/neqo that referenced this issue Feb 12, 2025
And remove some boilerplate code.

Fixes mozilla#2439
@larseggert larseggert linked a pull request Feb 12, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant