Put Future trait into spotlight
This commit is contained in:
parent
f66e4697ae
commit
102436d16a
@ -24,6 +24,7 @@
|
||||
///
|
||||
/// When using a future, you generally won't call `poll` directly, but instead
|
||||
/// `await!` the value.
|
||||
#[doc(spotlight)]
|
||||
#[must_use = "futures do nothing unless polled"]
|
||||
pub trait Future {
|
||||
/// The type of value produced on completion.
|
||||
|
Loading…
Reference in New Issue
Block a user