File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -386,9 +386,8 @@ pub trait Future {
386
386
/// [`Poll::Pending`]: ../task/enum.Poll.html#variant.Pending
387
387
/// [`Poll::Ready(val)`]: ../task/enum.Poll.html#variant.Ready
388
388
/// [`Waker`]: ../task/struct.Waker.html
389
- /// [`Waker::into_waker`]: ../task/struct.Waker.html#method.into_waker
390
389
/// [`Waker::wake`]: ../task/struct.Waker.html#method.wake
391
- fn poll (self : Pin <& mut Self >, lw : & Waker ) -> Poll <Self :: Output >;
390
+ fn poll (self : Pin <& mut Self >, waker : & Waker ) -> Poll <Self :: Output >;
392
391
}
393
392
```
394
393
@@ -578,7 +577,7 @@ thread_local! {
578
577
static VTABLE : & RawWakerVTable = & RawWakerVTable {
579
578
clone : | data : * const ()| RawWaker { data , vtable : VTABLE , },
580
579
wake : | data : * const ()| EXECUTOR . borrow_mut (). as_mut (). expect (... ). work_queue. push (data as usize ),
581
- drop : | _ : * const () | {} ,
580
+ drop ,
582
581
};
583
582
```
584
583
You can’t perform that action at this time.
0 commit comments