From 299b594fde2e0e1b98a7e08acfa81a7e5c715d95 Mon Sep 17 00:00:00 2001 From: Peter Elmers Date: Wed, 4 Mar 2015 11:02:31 -0600 Subject: [PATCH] Fix grammar nits in compound-data-types.md I came across a couple of grammar mistakes when refreshing myself on enums. --- src/doc/trpl/compound-data-types.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index 85d67262c4066..e09922fd390a9 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;