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.
2 parents f351e67 + bd322f4 commit 0a4c136Copy full SHA for 0a4c136
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