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 b237d12 commit 0828379Copy full SHA for 0828379
src/items/enumerations.md
@@ -39,7 +39,7 @@ integer associated to it that is used to determine which variant it holds.
39
## Custom Discriminant Values for Field-Less Enumerations
40
41
If there is no data attached to *any* of the variants of an enumeration,
42
-then the discriminant can directly chosen and accessed.
+then the discriminant can be directly chosen and accessed.
43
44
If a discriminant isn't specified, they start at zero, and add one for each
45
variant, in order. Each enum value is just its discriminant which you can
0 commit comments