File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -541,16 +541,6 @@ impl Waker {
541541 ///
542542 /// If an owned `Waker` is needed, `clone()` this one.
543543 ///
544- /// # Warning
545- ///
546- /// When implementing a runtime-agnostic future which wraps other future(s),
547- /// do not use this function as a way to be able to call `poll` methods
548- /// when you don't have your caller's `Context` available.
549- ///
550- /// Using a no-op waker for that purpose would cause wakeups to be lost:
551- /// the inner future would store only the no-op waker,
552- /// replacing the proper waker for the waiting task.
553- ///
554544 /// # Examples
555545 ///
556546 /// ```
@@ -808,16 +798,6 @@ impl LocalWaker {
808798 ///
809799 /// If an owned `LocalWaker` is needed, `clone()` this one.
810800 ///
811- /// # Warning
812- ///
813- /// When implementing a runtime-agnostic future which wraps other future(s),
814- /// do not use this function as a way to be able to call `poll` methods
815- /// when you don't have your caller's `Context` available.
816- ///
817- /// Using a no-op waker for that purpose would cause wakeups to be lost:
818- /// the inner future would store only the no-op waker,
819- /// replacing the proper waker for the waiting task.
820- ///
821801 /// # Examples
822802 ///
823803 /// ```
You can’t perform that action at this time.
0 commit comments