Skip to content

Commit 7d6b200

Browse files
authored
Fix 'optionaly' typo.
1 parent 9adc9b5 commit 7d6b200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/enumerations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If there is no data attached to *any* of the variants of an enumeration,
6767
then the discriminant can be directly chosen and accessed.
6868

6969
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
70+
[numeric cast]. The enumeration can optionally specify which integer each
7171
discriminant gets by following the variant name with `=` and then an integer
7272
literal. If the first variant in the declaration is unspecified, then it is set
7373
to zero. For every unspecified discriminant, it is set to one higher than the

0 commit comments

Comments
 (0)