remove references to owned and managed pointers in clone docs
Fixes #17445.
This commit is contained in:
parent
3907a13f69
commit
bd322f4c1f
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
Add a link
Reference in a new issue