Update tutorial: 1-tuples now exist

This commit is contained in:
zofrex 2013-04-07 22:08:23 +01:00
parent 44d4d6de76
commit 621d45b341
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ fn area(sh: Shape) -> float {
Tuples in Rust behave exactly like structs, except that their fields
do not have names. Thus, you cannot access their fields with dot notation.
Tuples can have any arity except for 0 or 1 (though you may consider
Tuples can have any arity except for 0 (though you may consider
unit, `()`, as the empty tuple if you like).
~~~~