Skip to content

Commit cddbb6a

Browse files
committed
DerefMut should be for Sized?
1 parent 3c89031 commit cddbb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ impl<'a, Sized? T> Deref<T> for &'a mut T {
787787
/// }
788788
/// ```
789789
#[lang="deref_mut"]
790-
pub trait DerefMut<Sized? Result>: Deref<Result> {
790+
pub trait DerefMut<Sized? Result> for Sized? : Deref<Result> {
791791
/// The method called to mutably dereference a value
792792
fn deref_mut<'a>(&'a mut self) -> &'a mut Result;
793793
}

0 commit comments

Comments
 (0)