We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0954d4c commit 42538caCopy full SHA for 42538ca
1 file changed
library/core/src/task/wake.rs
@@ -421,7 +421,7 @@ impl Waker {
421
/// As long as the executor keeps running and the task is not finished,
422
/// it is guaranteed that each invocation of [`wake()`](Self::wake) (or
423
/// [`wake_by_ref()`](Self::wake_by_ref)) will be followed by at least one
424
- /// [`poll()`] of the task to which this `Waker` belongs, and the call to
+ /// [`poll()`] of the task to which this `Waker` belongs, such that the call to
425
/// [`wake()`](Self::wake) (or [`wake_by_ref()`](Self::wake_by_ref)) _happens-before_
426
/// the beginning of the invocation of [`poll()`]. This makes it possible to temporarily
427
/// yield to other tasks while running potentially unbounded processing loops.
0 commit comments