diff options
| author | zofrex <zofrex@gmail.com> | 2013-04-07 22:08:23 +0100 |
|---|---|---|
| committer | zofrex <zofrex@gmail.com> | 2013-04-07 22:08:23 +0100 |
| commit | 621d45b341c8c4ed0708b47b5a046278dda0c5be (patch) | |
| tree | ca4fa2b5c0e97fff68b352706a555c79a5516936 | |
| parent | 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d (diff) | |
| download | rust-621d45b341c8c4ed0708b47b5a046278dda0c5be.tar.gz rust-621d45b341c8c4ed0708b47b5a046278dda0c5be.zip | |
Update tutorial: 1-tuples now exist
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 902a7902972..fe9c6297dd5 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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). ~~~~ |
