Skip to content

Commit 102436d

Browse files
author
Stjepan Glavina
committed
Put Future trait into spotlight
1 parent f66e469 commit 102436d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/libcore/future/future.rs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use task::{Poll, Waker};
2424
///
2525
/// When using a future, you generally won't call `poll` directly, but instead
2626
/// `await!` the value.
27+
#[doc(spotlight)]
2728
#[must_use = "futures do nothing unless polled"]
2829
pub trait Future {
2930
/// The type of value produced on completion.

0 commit comments

Comments
 (0)