about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorChase Southwood <chase.southwood@gmail.com>2014-12-04 03:10:58 -0600
committerChase Southwood <chase.southwood@gmail.com>2014-12-04 03:10:58 -0600
commitcddbb6a75bd4618e6e136e7ec5140b95899ad70b (patch)
tree0a06ca4ab742c7fee07db6a15be23a5bbf1913a5 /src/libcore
parent3c89031e1f213030f0514c8dcb9e6fa19ddbd323 (diff)
downloadrust-cddbb6a75bd4618e6e136e7ec5140b95899ad70b.tar.gz
rust-cddbb6a75bd4618e6e136e7ec5140b95899ad70b.zip
`DerefMut` should be `for Sized?`
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 d85481098e4..7de89e2bc50 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;
 }