We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3907a13 commit bd322f4Copy full SHA for bd322f4
src/libcore/clone.rs
@@ -25,9 +25,7 @@ the `clone` method.
25
26
/// A common trait for cloning an object.
27
pub trait Clone {
28
- /// Returns a copy of the value. The contents of owned pointers
29
- /// are copied to maintain uniqueness, while the contents of
30
- /// managed pointers are not copied.
+ /// Returns a copy of the value.
31
fn clone(&self) -> Self;
32
33
/// Perform copy-assignment from `source`.
0 commit comments