From 89822e1cbca928038c646c29336240e9ea7b492a Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Sun, 15 Feb 2015 14:29:40 +0100 Subject: [PATCH] Book - short explanation of arity --- src/doc/trpl/compound-data-types.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index 8b99278acb1f6..09ce1c383a0f0 100644 --- a/src/doc/trpl/compound-data-types.md +++ b/src/doc/trpl/compound-data-types.md @@ -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)