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

Derive Default for simple default definitions #1

Merged
merged 1 commit into from
Apr 9, 2023

Conversation

egregius313
Copy link
Contributor

Rust 1.62 added support for the #[default] annotation on enum members, to enable #[derive(Default)] for enums.

Rust 1.62 added support for the `#[default]` annotation on enum members,
to enable `#[derive(Default)]` for enums.
@GeekMasher GeekMasher merged commit b1b34f3 into GeekMasher:main Apr 9, 2023
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 this pull request may close these issues.

2 participants