diff options
| author | bors <bors@rust-lang.org> | 2013-04-04 01:21:50 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-04-04 01:21:50 -0700 |
| commit | 1dc330c3130c207b40a41579483c00f53ac6e93b (patch) | |
| tree | e76f80421f418103ebcf44024fff4c35008893fb | |
| parent | 21de574625b5bb87126045da32d49ccee74a9060 (diff) | |
| parent | 8dd5a70ef4bf951c4cdecef3ef9a27ddfc6a03fb (diff) | |
| download | rust-1dc330c3130c207b40a41579483c00f53ac6e93b.tar.gz rust-1dc330c3130c207b40a41579483c00f53ac6e93b.zip | |
auto merge of #5707 : brettcannon/rust/patch-1, r=thestinger
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 c067b473bd3..ba3568a27a8 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 { |
