@@ -27,15 +27,15 @@ impl<T> Mutex<T> {
2727/// dropped (falls out of scope), the lock will be unlocked.
2828pub struct MutexGuard < ' a , T > ( sync:: MutexGuard < ' a , T > ) ;
2929
30- impl < ' a , T > ops:: Deref for MutexGuard < ' a , T > {
30+ impl < T > ops:: Deref for MutexGuard < ' _ , T > {
3131 type Target = T ;
3232
3333 fn deref ( & self ) -> & Self :: Target {
3434 & self . 0
3535 }
3636}
3737
38- impl < ' a , T > ops:: DerefMut for MutexGuard < ' a , T > {
38+ impl < T > ops:: DerefMut for MutexGuard < ' _ , T > {
3939 fn deref_mut ( & mut self ) -> & mut Self :: Target {
4040 & mut self . 0
4141 }
@@ -72,7 +72,7 @@ impl<T> RwLock<T> {
7272/// dropped.
7373pub struct RwLockReadGuard < ' a , T > ( sync:: RwLockReadGuard < ' a , T > ) ;
7474
75- impl < ' a , T > ops:: Deref for RwLockReadGuard < ' a , T > {
75+ impl < T > ops:: Deref for RwLockReadGuard < ' _ , T > {
7676 type Target = T ;
7777
7878 fn deref ( & self ) -> & Self :: Target {
@@ -84,15 +84,15 @@ impl<'a, T> ops::Deref for RwLockReadGuard<'a, T> {
8484/// dropped.
8585pub struct RwLockWriteGuard < ' a , T > ( sync:: RwLockWriteGuard < ' a , T > ) ;
8686
87- impl < ' a , T > ops:: Deref for RwLockWriteGuard < ' a , T > {
87+ impl < T > ops:: Deref for RwLockWriteGuard < ' _ , T > {
8888 type Target = T ;
8989
9090 fn deref ( & self ) -> & Self :: Target {
9191 & self . 0
9292 }
9393}
9494
95- impl < ' a , T > ops:: DerefMut for RwLockWriteGuard < ' a , T > {
95+ impl < T > ops:: DerefMut for RwLockWriteGuard < ' _ , T > {
9696 fn deref_mut ( & mut self ) -> & mut Self :: Target {
9797 & mut self . 0
9898 }
0 commit comments