Skip to content

Commit

Permalink
Rollup merge of rust-lang#22368 - thiagooak:book-arity, r=steveklabnik
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 17, 2015
2 parents f28d89f + 89822e1 commit fe3b6a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/trpl/compound-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ This pattern is very powerful, and we'll see it repeated more later.

There are also a few things you can do with a tuple as a whole, without
destructuring. You can assign one tuple into another, if they have the same
arity and contained types.
contained types and arity. Tuples have the same arity when they have the same
length.

```rust
let mut x = (1, 2); // x: (i32, i32)
Expand Down

0 comments on commit fe3b6a1

Please sign in to comment.