about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Elmers <peter.elmers@yahoo.com>2015-03-04 11:02:31 -0600
committerPeter Elmers <peter.elmers@yahoo.com>2015-03-04 11:02:31 -0600
commit299b594fde2e0e1b98a7e08acfa81a7e5c715d95 (patch)
tree9db698944783ab2a156074ddbe47e1ea1d76f19b
parentbdf6e4fcf5ed8b8fe3c281040414e4f6a6afb8d6 (diff)
downloadrust-299b594fde2e0e1b98a7e08acfa81a7e5c715d95.tar.gz
rust-299b594fde2e0e1b98a7e08acfa81a7e5c715d95.zip
Fix grammar nits in compound-data-types.md
I came across a couple of grammar mistakes when refreshing myself on enums.
-rw-r--r--src/doc/trpl/compound-data-types.md6
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;