mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
auto merge of #17446 : steveklabnik/rust/gh17445, r=alexcrichton
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