diff options
| author | Chase Southwood <chase.southwood@gmail.com> | 2014-12-04 03:10:58 -0600 |
|---|---|---|
| committer | Chase Southwood <chase.southwood@gmail.com> | 2014-12-04 03:10:58 -0600 |
| commit | cddbb6a75bd4618e6e136e7ec5140b95899ad70b (patch) | |
| tree | 0a06ca4ab742c7fee07db6a15be23a5bbf1913a5 /src/libcore | |
| parent | 3c89031e1f213030f0514c8dcb9e6fa19ddbd323 (diff) | |
| download | rust-cddbb6a75bd4618e6e136e7ec5140b95899ad70b.tar.gz rust-cddbb6a75bd4618e6e136e7ec5140b95899ad70b.zip | |
`DerefMut` should be `for Sized?`
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops.rs | 2 |
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; } |
