DerefMut should be for Sized?

This commit is contained in:
Chase Southwood 2014-12-04 03:10:58 -06:00
parent 3c89031e1f
commit cddbb6a75b

View File

@ -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;
}