Skip to content

Commit

Permalink
Update destructuring to reference tuples section.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Dunsmore committed Apr 10, 2013
1 parent f0d0cbf commit 08bc392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/tutorial.md
Expand Up @@ -498,7 +498,8 @@ matching in order to bind names to the contents of data
types.
> ***Note:*** The following code makes use of tuples (`(float, float)`) which
> are explained later. For now you can think of tuples as a list of items.
> are explained in section 5.3. For now you can think of tuples as a list of
> items.
~~~~
fn angle(vector: (float, float)) -> float {
Expand Down

5 comments on commit 08bc392

@bors
Copy link
Contributor

@bors bors commented on 08bc392 Apr 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 08bc392 Apr 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging dunsmoreb/rust/incoming = 08bc392 into auto

@bors
Copy link
Contributor

@bors bors commented on 08bc392 Apr 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dunsmoreb/rust/incoming = 08bc392 merged ok, testing candidate = a425b75

@bors
Copy link
Contributor

@bors bors commented on 08bc392 Apr 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 08bc392 Apr 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = a425b75

Please sign in to comment.