about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-04 01:21:50 -0700
committerbors <bors@rust-lang.org>2013-04-04 01:21:50 -0700
commit1dc330c3130c207b40a41579483c00f53ac6e93b (patch)
treee76f80421f418103ebcf44024fff4c35008893fb
parent21de574625b5bb87126045da32d49ccee74a9060 (diff)
parent8dd5a70ef4bf951c4cdecef3ef9a27ddfc6a03fb (diff)
downloadrust-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.md2
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 {