We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 053531c commit a2be58bCopy full SHA for a2be58b
reference/src/layout/enums.md
@@ -46,10 +46,10 @@ As in C, discriminant values that are not specified are defined as
46
either 0 (for the first variant) or as one more than the prior
47
variant.
48
49
-**Data-carrying enums.** Enums whose variants have fields are called
50
-"data-carrying" enums. Note that for the purposes of this definition,
51
-it is not relevant whether those fields are zero-sized. Therefore this
52
-enum is considered "data-carrying":
+**Data-carrying enums.** Enums with at least one variant with fields are called
+"data-carrying" enums. Note that for the purposes of this definition, it is not
+relevant whether the variant fields are zero-sized. Therefore this enum is
+considered "data-carrying":
53
54
```rust
55
enum Foo {
0 commit comments