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 { }
366
366
/// ("hello", 5, 'c');
367
367
/// ```
368
368
///
369
+ /// 'Length' is also sometimes called 'arity' here; each tuple of a different
370
+ /// length is a different, distinct type.
371
+ ///
369
372
/// Tuples are *heterogeneous*. This means that each element of the tuple can
370
373
/// have a different type. In that tuple above, it has the type:
371
374
///
@@ -409,6 +412,9 @@ mod prim_str { }
409
412
/// [`Default`]: ../default/trait.Default.html
410
413
/// [`Hash`]: ../hash/trait.Hash.html
411
414
///
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
+ ///
412
418
/// # Examples
413
419
///
414
420
/// Basic usage:
You can’t perform that action at this time.
0 commit comments