File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 5a0308abadce38396f27122d5c8639ffb2a21469
3
- refs/heads/snap-stage3: 4ebc47bad2d50138e981d403000cf311c760169c
3
+ refs/heads/snap-stage3: 8fa48573e15b50971c8f20bea1250407ea3f586c
4
4
refs/heads/try: 29d24a3b02cb805da19450bf9830a8f0a6bd859c
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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