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

repr(transparent) works on single variant enums too #375

Closed
JanBeh opened this issue Jul 27, 2022 · 0 comments · Fixed by #376
Closed

repr(transparent) works on single variant enums too #375

JanBeh opened this issue Jul 27, 2022 · 0 comments · Fixed by #376

Comments

@JanBeh
Copy link

JanBeh commented Jul 27, 2022

The section "repr(transparent)" currently doesn't mention that #[repr(transparent)] also works with single variant enums, see:

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