Skip to content

Commit 3e9b859

Browse files
committed
Add Copy to the traits that are automatically implemented for tuples
1 parent 943ec3b commit 3e9b859

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libstd/primitive_docs.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,11 @@ mod prim_str { }
425425
///
426426
/// # Trait implementations
427427
///
428-
/// If every type inside a tuple implements one of the following
429-
/// traits, then a tuple itself also implements it.
428+
/// If every type inside a tuple implements one of the following traits, then a
429+
/// tuple itself also implements it.
430430
///
431431
/// * [`Clone`]
432+
/// * [`Copy`]
432433
/// * [`PartialEq`]
433434
/// * [`Eq`]
434435
/// * [`PartialOrd`]
@@ -438,6 +439,7 @@ mod prim_str { }
438439
/// * [`Hash`]
439440
///
440441
/// [`Clone`]: clone/trait.Clone.html
442+
/// [`Copy`]: marker/trait.Copy.html
441443
/// [`PartialEq`]: cmp/trait.PartialEq.html
442444
/// [`Eq`]: cmp/trait.Eq.html
443445
/// [`PartialOrd`]: cmp/trait.PartialOrd.html

0 commit comments

Comments
 (0)