Skip to content

Commit 61ac5fd

Browse files
committed
clone: fix docstring
@t and @mut T for T: Const have DeepClone
1 parent 69511c2 commit 61ac5fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/clone.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ clone_impl!(char)
9090
/// managed boxes which would otherwise not be copied.
9191
pub trait DeepClone {
9292
/// Return a deep copy of the value. Unlike `Clone`, the contents of shared pointer types
93-
/// *are* copied. Note that this is currently unimplemented for managed boxes, as
94-
/// it would need to handle cycles, but it is implemented for other smart-pointer types.
93+
/// *are* copied.
9594
fn deep_clone(&self) -> Self;
9695
}
9796

0 commit comments

Comments
 (0)