diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-05 02:21:03 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-05 12:39:07 +0530 |
| commit | 455aa62e4d3766f0b092015c3e15d089bbe2129f (patch) | |
| tree | 11e7f78e2707b2313c6bb291f6f4be845ee11370 | |
| parent | 8a55fce389491d34823d98c081b7518b09b7a5e7 (diff) | |
| parent | 299b594fde2e0e1b98a7e08acfa81a7e5c715d95 (diff) | |
| download | rust-455aa62e4d3766f0b092015c3e15d089bbe2129f.tar.gz rust-455aa62e4d3766f0b092015c3e15d089bbe2129f.zip | |
Rollup merge of #23033 - pelmers:patch-3, r=steveklabnik
I came across a couple of grammar mistakes when refreshing myself on enums.
| -rw-r--r-- | src/doc/trpl/compound-data-types.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index 85d67262c40..e09922fd390 100644 --- a/src/doc/trpl/compound-data-types.md +++ b/src/doc/trpl/compound-data-types.md @@ -6,8 +6,8 @@ strings, but next, let's talk about some more complicated ways of storing data. ## Tuples -The first compound data type we're going to talk about are called *tuples*. -Tuples are an ordered list of a fixed size. Like this: +The first compound data type we're going to talk about is called the *tuple*. +A tuple is an ordered list of fixed size. Like this: ```rust let x = (1, "hello"); @@ -229,7 +229,7 @@ enum Character { ``` An `enum` variant can be defined as most normal types. Below are some example -types have been listed which also would be allowed in an `enum`. +types which also would be allowed in an `enum`. ```rust struct Empty; |
