From 3e9b859af2b54130a898741706a736ade406774d Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Wed, 6 Apr 2016 20:10:33 +0200 Subject: [PATCH] Add `Copy` to the traits that are automatically implemented for tuples --- src/libstd/primitive_docs.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index c8ea28c5ca39f..e083605a2acd5 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