From 29678e48ad44d8d963a5a16988d64fa7c96db827 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 1 Nov 2016 10:09:19 -0400 Subject: [PATCH] Remove "distinct" from tuple explanation Fixes #283. --- nostarch/chapter03.md | 8 ++++---- src/ch03-02-data-types.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nostarch/chapter03.md b/nostarch/chapter03.md index e53d484e5..6665977c9 100644 --- a/nostarch/chapter03.md +++ b/nostarch/chapter03.md @@ -457,12 +457,12 @@ has two primitive compound types: tuples and arrays. #### Grouping Values into Tuples 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 -parentheses. Each position in the tuple has a distinct type, and the types of -the different values in the tuple do not have to be the same. We’ve added -optional type annotations in this example: +parentheses. Each position in the tuple has a type, and the types of the +different values in the tuple don’t have to be the same. We’ve added optional +type annotations in this example: Filename: src/main.rs diff --git a/src/ch03-02-data-types.md b/src/ch03-02-data-types.md index cc4fbef71..8c6e6618d 100644 --- a/src/ch03-02-data-types.md +++ b/src/ch03-02-data-types.md @@ -208,12 +208,12 @@ has two primitive compound types: tuples and arrays. #### Grouping Values into Tuples 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 -parentheses. Each position in the tuple has a distinct type, and the types of -the different values in the tuple do not have to be the same. We’ve added -optional type annotations in this example: +parentheses. Each position in the tuple has a type, and the types of the +different values in the tuple don’t have to be the same. We’ve added optional +type annotations in this example: Filename: src/main.rs