File tree 4 files changed +10
-0
lines changed
futures-util/src/async_await
4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 7
7
/// `join!` polls both futures concurrently and therefore is more efficent.
8
8
///
9
9
/// This macro is only usable inside of async functions, closures, and blocks.
10
+ /// It is also gated behind the `async-await` feature of this library, which is
11
+ /// _not_ activated by default.
10
12
///
11
13
/// # Examples
12
14
///
@@ -53,6 +55,8 @@ macro_rules! join {
53
55
/// the futures return an error.
54
56
///
55
57
/// This macro is only usable inside of async functions, closures, and blocks.
58
+ /// It is also gated behind the `async-await` feature of this library, which is
59
+ /// _not_ activated by default.
56
60
///
57
61
/// # Examples
58
62
///
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ use futures_core::task::{Context, Poll};
10
10
/// is called somewhere when further progress can be made.
11
11
///
12
12
/// This macro is only usable inside of async functions, closures, and blocks.
13
+ /// It is also gated behind the `async-await` feature of this library, which is
14
+ /// _not_ activated by default.
13
15
#[ macro_export]
14
16
macro_rules! pending {
15
17
( ) => {
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ use futures_core::task::{Context, Poll};
6
6
/// current `async` context.
7
7
///
8
8
/// This macro is only usable inside of `async` functions, closures, and blocks.
9
+ /// It is also gated behind the `async-await` feature of this library, which is
10
+ /// _not_ activated by default.
9
11
#[ macro_export]
10
12
macro_rules! poll {
11
13
( $x: expr) => {
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ macro_rules! document_select_macro {
20
20
/// branch has to have the same return type.
21
21
///
22
22
/// This macro is only usable inside of async functions, closures, and blocks.
23
+ /// It is also gated behind the `async-await` feature of this library, which is
24
+ /// _not_ activated by default.
23
25
///
24
26
/// # Examples
25
27
///
You can’t perform that action at this time.
0 commit comments