提交 862ae9aa 编写于 作者: S Steve Klabnik

Rollup merge of #32774 - tbu-:pr_doc_tuple_copy, r=brson

Add `Copy` to the traits that are automatically implemented for tuples
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册