@@ -51,7 +51,7 @@ pub struct Async<'l, F: AsFd> {
5151 was_nonblocking : bool ,
5252}
5353
54- impl < ' l , F : AsFd + std:: fmt:: Debug > std:: fmt:: Debug for Async < ' l , F > {
54+ impl < F : AsFd + std:: fmt:: Debug > std:: fmt:: Debug for Async < ' _ , F > {
5555 #[ cfg_attr( feature = "nightly_coverage" , coverage( off) ) ]
5656 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
5757 f. debug_struct ( "Async" ) . field ( "fd" , & self . fd ) . finish ( )
@@ -146,7 +146,7 @@ pub struct Readable<'s, 'l, F: AsFd> {
146146 io : & ' s mut Async < ' l , F > ,
147147}
148148
149- impl < ' s , ' l , F : AsFd > std:: future:: Future for Readable < ' s , ' l , F > {
149+ impl < F : AsFd > std:: future:: Future for Readable < ' _ , ' _ , F > {
150150 type Output = ( ) ;
151151 fn poll ( mut self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> TaskPoll < ( ) > {
152152 let io = & mut self . as_mut ( ) . io ;
@@ -166,7 +166,7 @@ pub struct Writable<'s, 'l, F: AsFd> {
166166 io : & ' s mut Async < ' l , F > ,
167167}
168168
169- impl < ' s , ' l , F : AsFd > std:: future:: Future for Writable < ' s , ' l , F > {
169+ impl < F : AsFd > std:: future:: Future for Writable < ' _ , ' _ , F > {
170170 type Output = ( ) ;
171171 fn poll ( mut self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> TaskPoll < ( ) > {
172172 let io = & mut self . as_mut ( ) . io ;
@@ -180,7 +180,7 @@ impl<'s, 'l, F: AsFd> std::future::Future for Writable<'s, 'l, F> {
180180 }
181181}
182182
183- impl < ' l , F : AsFd > Drop for Async < ' l , F > {
183+ impl < F : AsFd > Drop for Async < ' _ , F > {
184184 fn drop ( & mut self ) {
185185 self . inner . kill ( & self . dispatcher ) ;
186186 // restore flags
@@ -191,15 +191,15 @@ impl<'l, F: AsFd> Drop for Async<'l, F> {
191191 }
192192}
193193
194- impl < ' l , F : AsFd > Unpin for Async < ' l , F > { }
194+ impl < F : AsFd > Unpin for Async < ' _ , F > { }
195195
196196trait IoLoopInner {
197197 unsafe fn register ( & self , dispatcher : & RefCell < IoDispatcher > ) -> crate :: Result < ( ) > ;
198198 fn reregister ( & self , dispatcher : & RefCell < IoDispatcher > ) -> crate :: Result < ( ) > ;
199199 fn kill ( & self , dispatcher : & RefCell < IoDispatcher > ) ;
200200}
201201
202- impl < ' l , Data > IoLoopInner for LoopInner < ' l , Data > {
202+ impl < Data > IoLoopInner for LoopInner < ' _ , Data > {
203203 unsafe fn register ( & self , dispatcher : & RefCell < IoDispatcher > ) -> crate :: Result < ( ) > {
204204 let disp = dispatcher. borrow ( ) ;
205205 self . poll . borrow_mut ( ) . register (
@@ -306,7 +306,7 @@ impl<Data> EventDispatcher<Data> for RefCell<IoDispatcher> {
306306
307307#[ cfg( feature = "futures-io" ) ]
308308#[ cfg_attr( docsrs, doc( cfg( feature = "futures-io" ) ) ) ]
309- impl < ' l , F : AsFd + std:: io:: Read > AsyncRead for Async < ' l , F > {
309+ impl < F : AsFd + std:: io:: Read > AsyncRead for Async < ' _ , F > {
310310 fn poll_read (
311311 mut self : Pin < & mut Self > ,
312312 cx : & mut Context < ' _ > ,
@@ -336,7 +336,7 @@ impl<'l, F: AsFd + std::io::Read> AsyncRead for Async<'l, F> {
336336
337337#[ cfg( feature = "futures-io" ) ]
338338#[ cfg_attr( docsrs, doc( cfg( feature = "futures-io" ) ) ) ]
339- impl < ' l , F : AsFd + std:: io:: Write > AsyncWrite for Async < ' l , F > {
339+ impl < F : AsFd + std:: io:: Write > AsyncWrite for Async < ' _ , F > {
340340 fn poll_write (
341341 mut self : Pin < & mut Self > ,
342342 cx : & mut Context < ' _ > ,
0 commit comments