File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,9 @@ mod prim_str { }
366366/// ("hello", 5, 'c');
367367/// ```
368368///
369+ /// 'Length' is also sometimes called 'arity' here; each tuple of a different
370+ /// length is a different, distinct type.
371+ ///
369372/// Tuples are *heterogeneous*. This means that each element of the tuple can
370373/// have a different type. In that tuple above, it has the type:
371374///
@@ -409,6 +412,9 @@ mod prim_str { }
409412/// [`Default`]: ../default/trait.Default.html
410413/// [`Hash`]: ../hash/trait.Hash.html
411414///
415+ /// Due to a temporary restriction in Rust's type system, these traits are only
416+ /// implemented on tuples of arity 32 or less. In the future, this may change.
417+ ///
412418/// # Examples
413419///
414420/// Basic usage:
You can’t perform that action at this time.
0 commit comments