diff options
| author | Brett Cannon <brett@python.org> | 2013-04-03 18:52:28 -0300 |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2013-04-03 18:52:28 -0300 |
| commit | 8dd5a70ef4bf951c4cdecef3ef9a27ddfc6a03fb (patch) | |
| tree | bf5ac3dfc0e7200d43c71110bf9d1bd0b5712f74 | |
| parent | 6153aae809387bf5d8e99eda9d2a3c86e80d1b2d (diff) | |
| download | rust-8dd5a70ef4bf951c4cdecef3ef9a27ddfc6a03fb.tar.gz rust-8dd5a70ef4bf951c4cdecef3ef9a27ddfc6a03fb.zip | |
Update tut. to not sound like I missed a section
The sentence "Remember that `(float, float)` is a tuple of two floats" sounds like you've already read a section on tuples, but that section comes later. Changing it to "Assuming that ..." makes it more about taking the writer's word that the syntax is how tuples are defined.
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 42b0d5a585a..92e2f55b02d 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -495,7 +495,7 @@ omitted. A powerful application of pattern matching is *destructuring*: matching in order to bind names to the contents of data -types. Remember that `(float, float)` is a tuple of two floats: +types. Assuming that `(float, float)` is a tuple of two floats: ~~~~ fn angle(vector: (float, float)) -> float { |
