From 621d45b341c8c4ed0708b47b5a046278dda0c5be Mon Sep 17 00:00:00 2001 From: zofrex Date: Sun, 7 Apr 2013 22:08:23 +0100 Subject: [PATCH] Update tutorial: 1-tuples now exist --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). ~~~~