We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99b2f7 commit e2edb0cCopy full SHA for e2edb0c
reference/src/representation/enums.md
@@ -43,7 +43,7 @@ As in C, discriminant values that are not specified are defined as
43
either 0 (for the first variant) or as one more than the prior
44
variant.
45
46
-**Data-carrying enums.** Enums whose enums have fields are called
+**Data-carrying enums.** Enums whose variants have fields are called
47
"data-carrying" enums. Note that for the purposes of this definition,
48
it is not relevant whether those fields are zero-sized. Therefore this
49
enum is considered "data-carrying":
0 commit comments