about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorKevin Atkinson <kevina@cs.utah.edu>2012-01-16 21:04:02 -0700
committerKevin Atkinson <kevina@cs.utah.edu>2012-01-16 21:04:02 -0700
commitbdc8e8d222eebebcbc9fcfbc1df03ee8b57892f5 (patch)
treefb5a78cf18426aba64b9a5d5348d943017fb506b /doc
parente20d90671856ac9935ea42281b669eee891a984d (diff)
downloadrust-bdc8e8d222eebebcbc9fcfbc1df03ee8b57892f5.tar.gz
rust-bdc8e8d222eebebcbc9fcfbc1df03ee8b57892f5.zip
Minor cleanups to custom discriminator code.
Mostly updates to the comments and docs from Pull Request #1537.
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial/data.md6
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;