about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-06-04 15:58:40 -0700
committerbors <bors@rust-lang.org>2013-06-04 15:58:40 -0700
commitc75c11a06108430b658f52e8e491c3fc208aeabd (patch)
treea340a66660fcd15676fdb3ff9ab8ab9b41de4c19 /src/libstd
parent69511c219ccb15732383e20a29527cc589ec3d8f (diff)
parent61ac5fdab73878584053b79457eed34cf5b7055d (diff)
downloadrust-c75c11a06108430b658f52e8e491c3fc208aeabd.tar.gz
rust-c75c11a06108430b658f52e8e491c3fc208aeabd.zip
auto merge of #6939 : thestinger/rust/clone, r=catamorphism
`@T` and `@mut T` for `T: Const` have `DeepClone`
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/clone.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/clone.rs b/src/libstd/clone.rs
index f74d9abda8b..266dd1a35e3 100644
--- a/src/libstd/clone.rs
+++ b/src/libstd/clone.rs
@@ -90,8 +90,7 @@ clone_impl!(char)
 /// managed boxes which would otherwise not be copied.
 pub trait DeepClone {
     /// Return a deep copy of the value. Unlike `Clone`, the contents of shared pointer types
-    /// *are* copied. Note that this is currently unimplemented for managed boxes, as
-    /// it would need to handle cycles, but it is implemented for other smart-pointer types.
+    /// *are* copied.
     fn deep_clone(&self) -> Self;
 }