Skip to content

Commit

Permalink
auto merge of #5707 : brettcannon/rust/patch-1, r=thestinger
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Apr 4, 2013
2 parents 21de574 + 8dd5a70 commit 1dc330c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1dc330c

Please sign in to comment.