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

refactor: Derive Default for enums #356

Merged
merged 1 commit into from
May 6, 2024

Conversation

waywardmonkeys
Copy link
Collaborator

As of Rust 1.62, enums can use #[derive(Default)].

See rust-lang/rust#94457.

As of Rust 1.62, enums can use `#[derive(Default)]`.

See <rust-lang/rust#94457>.
Copy link
Collaborator

@alerque alerque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL, I can apply this to a few of my own projects ;-)

@alerque alerque merged commit 704e4ae into projectfluent:main May 6, 2024
5 checks passed
@waywardmonkeys waywardmonkeys deleted the derive-default-enums branch May 7, 2024 14:24
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