@@ -429,7 +429,7 @@ impl<P: Park + Default> Default for CurrentThread<P> {
429429
430430// ===== impl Entered =====
431431
432- impl < ' a , P : Park > Entered < ' a , P > {
432+ impl < P : Park > Entered < ' _ , P > {
433433 /// Spawn the future on the executor.
434434 ///
435435 /// This internally queues the future to be executed once `run` is called.
@@ -593,7 +593,7 @@ impl<'a, P: Park> Entered<'a, P> {
593593 }
594594}
595595
596- impl < ' a , P : Park > fmt:: Debug for Entered < ' a , P > {
596+ impl < P : Park > fmt:: Debug for Entered < ' _ , P > {
597597 fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
598598 fmt. debug_struct ( "Entered" )
599599 . field ( "executor" , & self . executor )
@@ -738,7 +738,7 @@ where
738738
739739// ===== impl Borrow =====
740740
741- impl < ' a , U : Unpark > Borrow < ' a , U > {
741+ impl < U : Unpark > Borrow < ' _ , U > {
742742 fn enter < F , R > ( & mut self , f : F ) -> R
743743 where
744744 F : FnOnce ( ) -> R ,
@@ -750,7 +750,7 @@ impl<'a, U: Unpark> Borrow<'a, U> {
750750 }
751751}
752752
753- impl < ' a , U : Unpark > SpawnLocal for Borrow < ' a , U > {
753+ impl < U : Unpark > SpawnLocal for Borrow < ' _ , U > {
754754 fn spawn_local ( & mut self , future : Pin < Box < dyn Future < Output = ( ) > > > , already_counted : bool ) {
755755 if !already_counted {
756756 // NOTE: we have a borrow of the Runtime, so we know that it isn't shut down.
@@ -770,7 +770,7 @@ impl CurrentRunner {
770770 {
771771 struct Reset < ' a > ( & ' a CurrentRunner ) ;
772772
773- impl < ' a > Drop for Reset < ' a > {
773+ impl Drop for Reset < ' _ > {
774774 fn drop ( & mut self ) {
775775 self . 0 . spawn . set ( None ) ;
776776 self . 0 . id . set ( None ) ;
0 commit comments