diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-04-06 20:10:33 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2016-04-06 20:10:33 +0200 |
| commit | 3e9b859af2b54130a898741706a736ade406774d (patch) | |
| tree | f3b5fadf102d8efe73df641174732dbf1b8795dc | |
| parent | 943ec3bdfc9ba28e94b6d00a2b53fb2cd8b21655 (diff) | |
| download | rust-3e9b859af2b54130a898741706a736ade406774d.tar.gz rust-3e9b859af2b54130a898741706a736ade406774d.zip | |
Add `Copy` to the traits that are automatically implemented for tuples
| -rw-r--r-- | src/libstd/primitive_docs.rs | 6 |
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 |
