Skip to content

Commit eeaa6dd

Browse files
committed
---
yaml --- r: 262395 b: refs/heads/snap-stage3 c: 8fa4857 h: refs/heads/master i: 262393: 2d0a601 262391: 0e9b20a
1 parent 145032e commit eeaa6dd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 5a0308abadce38396f27122d5c8639ffb2a21469
3-
refs/heads/snap-stage3: 4ebc47bad2d50138e981d403000cf311c760169c
3+
refs/heads/snap-stage3: 8fa48573e15b50971c8f20bea1250407ea3f586c
44
refs/heads/try: 29d24a3b02cb805da19450bf9830a8f0a6bd859c
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/src/libstd/primitive_docs.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)