From bdc8e8d222eebebcbc9fcfbc1df03ee8b57892f5 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Mon, 16 Jan 2012 21:04:02 -0700 Subject: Minor cleanups to custom discriminator code. Mostly updates to the comments and docs from Pull Request #1537. --- doc/tutorial/data.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/tutorial') 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; -- cgit 1.4.1-3-g733a5