auto merge of #17446 : steveklabnik/rust/gh17445, r=alexcrichton
Fixes #17445.
This commit is contained in:
commit
0a4c136d6a
1 changed files with 1 additions and 3 deletions
|
@ -25,9 +25,7 @@ the `clone` method.
|
|||
|
||||
/// A common trait for cloning an object.
|
||||
pub trait Clone {
|
||||
/// Returns a copy of the value. The contents of owned pointers
|
||||
/// are copied to maintain uniqueness, while the contents of
|
||||
/// managed pointers are not copied.
|
||||
/// Returns a copy of the value.
|
||||
fn clone(&self) -> Self;
|
||||
|
||||
/// Perform copy-assignment from `source`.
|
||||
|
|
Loading…
Add table
Reference in a new issue