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 b554680 commit 2329601Copy full SHA for 2329601
library/core/src/task/wake.rs
@@ -543,8 +543,7 @@ impl Waker {
543
///
544
/// # Warning
545
546
- /// Do not use this function as a way to be able to call `poll` methods,
547
- /// in production code,
+ /// Do not use this function as a way to be able to call `poll` methods in production code
548
/// from within a non-`async`, non-`poll`, function.
549
550
/// Using a no-op waker for that purpose would cause wakeups to be lost:
0 commit comments