about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-04-06 12:12:09 -0700
committerSteve Klabnik <steve@steveklabnik.com>2016-04-06 12:12:09 -0700
commit862ae9aa75b073f4d753aa8275fb139ab9729d74 (patch)
treec019fe043d842df6d5e19c131d304cb541f7e7a8 /src/libstd
parent76a58954e08aa1dede29a87adb50d4ad9179ba5c (diff)
parent3e9b859af2b54130a898741706a736ade406774d (diff)
downloadrust-862ae9aa75b073f4d753aa8275fb139ab9729d74.tar.gz
rust-862ae9aa75b073f4d753aa8275fb139ab9729d74.zip
Rollup merge of #32774 - tbu-:pr_doc_tuple_copy, r=brson
Add `Copy` to the traits that are automatically implemented for tuples
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/primitive_docs.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs
index c8ea28c5ca3..e083605a2ac 100644
--- a/src/libstd/primitive_docs.rs
+++ b/src/libstd/primitive_docs.rs
@@ -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`]
@@ -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