mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
remove references to owned and managed pointers in clone docs
Fixes #17445.
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
|
||||
/// 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`.
|
||||
|
||||
Reference in New Issue
Block a user