Skip to content

Commit

Permalink
Rollup merge of #32774 - tbu-:pr_doc_tuple_copy, r=brson
Browse files Browse the repository at this point in the history
Add `Copy` to the traits that are automatically implemented for tuples
  • Loading branch information
steveklabnik committed Apr 6, 2016
2 parents 76a5895 + 3e9b859 commit 862ae9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libstd/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,11 @@ mod prim_str { }
///
/// # Trait implementations
///
/// If every type inside a tuple implements one of the following
/// traits, then a tuple itself also implements it.
/// If every type inside a tuple implements one of the following traits, then a
/// tuple itself also implements it.
///
/// * [`Clone`]
/// * [`Copy`]
/// * [`PartialEq`]
/// * [`Eq`]
/// * [`PartialOrd`]
Expand All @@ -438,6 +439,7 @@ mod prim_str { }
/// * [`Hash`]
///
/// [`Clone`]: clone/trait.Clone.html
/// [`Copy`]: marker/trait.Copy.html
/// [`PartialEq`]: cmp/trait.PartialEq.html
/// [`Eq`]: cmp/trait.Eq.html
/// [`PartialOrd`]: cmp/trait.PartialOrd.html
Expand Down

0 comments on commit 862ae9a

Please sign in to comment.