File tree 1 file changed +0
-20
lines changed
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -541,16 +541,6 @@ impl Waker {
541
541
///
542
542
/// If an owned `Waker` is needed, `clone()` this one.
543
543
///
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
- ///
554
544
/// # Examples
555
545
///
556
546
/// ```
@@ -808,16 +798,6 @@ impl LocalWaker {
808
798
///
809
799
/// If an owned `LocalWaker` is needed, `clone()` this one.
810
800
///
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
- ///
821
801
/// # Examples
822
802
///
823
803
/// ```
You can’t perform that action at this time.
0 commit comments