Skip to content

Commit 42538ca

Browse files
xmh0511Darksonn
andauthored
Update library/core/src/task/wake.rs
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
1 parent 0954d4c commit 42538ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/task/wake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl Waker {
421421
/// As long as the executor keeps running and the task is not finished,
422422
/// it is guaranteed that each invocation of [`wake()`](Self::wake) (or
423423
/// [`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
424+
/// [`poll()`] of the task to which this `Waker` belongs, such that the call to
425425
/// [`wake()`](Self::wake) (or [`wake_by_ref()`](Self::wake_by_ref)) _happens-before_
426426
/// the beginning of the invocation of [`poll()`]. This makes it possible to temporarily
427427
/// yield to other tasks while running potentially unbounded processing loops.

0 commit comments

Comments
 (0)