1
Fork 0

cleanup: use short AT notation (Ty::Item instead of <Ty as Trait>::Item)

This commit is contained in:
Jorge Aparicio 2015-01-05 20:47:21 -05:00
parent 8efd9901b6
commit ec133fed40
5 changed files with 84 additions and 87 deletions

View file

@ -1134,7 +1134,7 @@ impl<'a, T: ?Sized> Deref for &'a mut T {
pub trait DerefMut: Deref {
/// The method called to mutably dereference a value
#[stable]
fn deref_mut<'a>(&'a mut self) -> &'a mut <Self as Deref>::Target;
fn deref_mut<'a>(&'a mut self) -> &'a mut Self::Target;
}
#[stable]