about summary refs log tree commit diff
path: root/src/libcore/clone.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/clone.rs')
-rw-r--r--src/libcore/clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/clone.rs b/src/libcore/clone.rs
index 159c2a505d5..17991659f97 100644
--- a/src/libcore/clone.rs
+++ b/src/libcore/clone.rs
@@ -43,7 +43,7 @@ pub trait Clone : Sized {
 }
 
 #[stable]
-impl<'a, Sized? T> Clone for &'a T {
+impl<'a, T: ?Sized> Clone for &'a T {
     /// Return a shallow copy of the reference.
     #[inline]
     fn clone(&self) -> &'a T { *self }