about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ops.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index 4f4ec486797..fdc8b9e7400 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -787,7 +787,7 @@ impl<'a, Sized? T> Deref<T> for &'a mut T {
 /// }
 /// ```
 #[lang="deref_mut"]
-pub trait DerefMut<Sized? Result>: Deref<Result> {
+pub trait DerefMut<Sized? Result> for Sized? : Deref<Result> {
     /// The method called to mutably dereference a value
     fn deref_mut<'a>(&'a mut self) -> &'a mut Result;
 }