We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6360806 commit bac6958Copy full SHA for bac6958
examples/02_04_executor/src/lib.rs
@@ -90,7 +90,7 @@ impl Executor {
90
if let Some(mut future) = future_slot.take() {
91
// Create a `LocalWaker` from the task itself
92
let waker = waker_ref(&task);
93
- let context = &mut Context::from_waker(&*waker);
+ let context = &mut Context::from_waker(&waker);
94
// `BoxFuture<T>` is a type alias for
95
// `Pin<Box<dyn Future<Output = T> + Send + 'static>>`.
96
// We can get a `Pin<&mut dyn Future + Send + 'static>`
0 commit comments