mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00
Add Copy
to the traits that are automatically implemented for tuples
This commit is contained in:
parent
943ec3bdfc
commit
3e9b859af2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user