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.
2 parents 9adc9b5 + 7d6b200 commit 1b130c6Copy full SHA for 1b130c6
src/items/enumerations.md
@@ -67,7 +67,7 @@ If there is no data attached to *any* of the variants of an enumeration,
67
then the discriminant can be directly chosen and accessed.
68
69
These enumerations can be cast to integer types with the `as` operator by a
70
-[numeric cast]. The enumeration can optionaly specify which integer each
+[numeric cast]. The enumeration can optionally specify which integer each
71
discriminant gets by following the variant name with `=` and then an integer
72
literal. If the first variant in the declaration is unspecified, then it is set
73
to zero. For every unspecified discriminant, it is set to one higher than the
0 commit comments