about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstd/clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/clone.rs b/src/libstd/clone.rs
index 92db250ecca..584963c36ca 100644
--- a/src/libstd/clone.rs
+++ b/src/libstd/clone.rs
@@ -133,7 +133,7 @@ extern_fn_clone!(A, B, C, D, E, F, G, H)
 
 /// A trait distinct from `Clone` which represents "deep copies" of things like
 /// managed boxes which would otherwise not be copied.
-pub trait DeepClone {
+pub trait DeepClone: Clone {
     /// Return a deep copy of the value. Unlike `Clone`, the contents of shared pointer types
     /// *are* copied.
     fn deep_clone(&self) -> Self;