Remove "distinct" from tuple explanation

Fixes #283.
This commit is contained in:
Carol (Nichols || Goulding)
2016-11-01 10:11:54 -04:00
parent 7520e12da8
commit 29678e48ad
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -457,12 +457,12 @@ has two primitive compound types: tuples and arrays.
#### Grouping Values into Tuples #### Grouping Values into Tuples
A tuple is a general way of grouping together some number of other values with A tuple is a general way of grouping together some number of other values with
distinct types into one compound type. a variety of types into one compound type.
We create a tuple by writing a comma-separated list of values inside We create a tuple by writing a comma-separated list of values inside
parentheses. Each position in the tuple has a distinct type, and the types of parentheses. Each position in the tuple has a type, and the types of the
the different values in the tuple do not have to be the same. We’ve added different values in the tuple don’t have to be the same. We’ve added optional
optional type annotations in this example: type annotations in this example:
Filename: src/main.rs Filename: src/main.rs
+4 -4
View File
@@ -208,12 +208,12 @@ has two primitive compound types: tuples and arrays.
#### Grouping Values into Tuples #### Grouping Values into Tuples
A tuple is a general way of grouping together some number of other values with A tuple is a general way of grouping together some number of other values with
distinct types into one compound type. a variety of types into one compound type.
We create a tuple by writing a comma-separated list of values inside We create a tuple by writing a comma-separated list of values inside
parentheses. Each position in the tuple has a distinct type, and the types of parentheses. Each position in the tuple has a type, and the types of the
the different values in the tuple do not have to be the same. We’ve added different values in the tuple don’t have to be the same. We’ve added optional
optional type annotations in this example: type annotations in this example:
Filename: src/main.rs Filename: src/main.rs