diff options
Diffstat (limited to 'doc/tutorial/data.md')
| -rw-r--r-- | doc/tutorial/data.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial/data.md b/doc/tutorial/data.md index 7796da21382..600589d07b7 100644 --- a/doc/tutorial/data.md +++ b/doc/tutorial/data.md @@ -103,9 +103,9 @@ equivalent to a C enum: This will define `north`, `east`, `south`, and `west` as constants, all of which have type `direction`. -When the enum is is C like, that is none of the variants have -parameters, it is possible to explicit set the discriminator values to -an integer value: +When the enum is C like, that is none of the variants have parameters, +it is possible to explicitly set the discriminator values to an integer +value: enum color { red = 0xff0000; |
