clone: fix docstring

@T and @mut T for T: Const have DeepClone
This commit is contained in:
Daniel Micay 2013-06-04 18:40:50 -04:00
parent 69511c219c
commit 61ac5fdab7
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}