projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.08k stars 97 forks source link

refactor: Derive `Default` for enums #356

Closed waywardmonkeys closed 4 months ago

waywardmonkeys commented 4 months ago

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

See https://github.com/rust-lang/rust/pull/94457.