DerefMut
should be for Sized?
This commit is contained in:
parent
3c89031e1f
commit
cddbb6a75b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user