Merge pull request #3212 from jhpratt/derive-default-enum

Change feature name, fix grammatical error
This commit is contained in:
Eric Huss 2021-12-31 11:44:13 -08:00 committed by GitHub
commit 16f3bc024b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
- Feature Name: `derive_enum_default`
- Feature Name: `derive_default_enum`
- Start Date: 2021-04-07
- RFC PR: [rust-lang/rfcs#3107](https://github.com/rust-lang/rfcs/pull/3107)
- Rust Issue: [rust-lang/rust#87517](https://github.com/rust-lang/rust/issues/87517)
@ -6,7 +6,7 @@
# Summary
[summary]: #summary
An attribute `#[default]`, usable on `enum` unit variants, is also introduced, thereby allowing some
An attribute `#[default]`, usable on `enum` unit variants, is introduced thereby allowing some
enums to work with `#[derive(Default)]`.
```rust