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 f6496cb commit 03d798fCopy full SHA for 03d798f
futures-core/src/task/__internal/atomic_waker.rs
@@ -340,7 +340,7 @@ impl AtomicWaker {
340
// Release the lock
341
self.state.fetch_and(!(WAKING | HOLDS), Release);
342
343
- return waker;
+ waker
344
}
345
state => {
346
// There is a concurrent thread currently updating the
@@ -356,7 +356,7 @@ impl AtomicWaker {
356
state == WAKING ||
357
state == WAKING | HOLDS);
358
359
- return None;
+ None
360
361
362
0 commit comments