We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f167efa commit f14a115Copy full SHA for f14a115
library/core/src/task/poll.rs
@@ -5,6 +5,10 @@ use crate::ops::{self, ControlFlow};
5
6
/// Indicates whether a value is available or if the current task has been
7
/// scheduled to receive a wakeup instead.
8
+///
9
+/// This is the return type of <code>[Future::poll]</code>.
10
11
+/// [Future::poll]: ../future/trait.Future.html "Future"
12
#[must_use = "this `Poll` may be a `Pending` variant, which should be handled"]
13
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
14
#[lang = "Poll"]
0 commit comments