| @@ -4,7 +4,7 @@ use crate:📑:Tuple; |
|
|
| 4 |
4 |
/// An async-aware version of the [`Fn`](crate::ops::Fn) trait. |
| 5 |
5 |
/// |
| 6 |
6 |
/// All `async fn` and functions returning futures implement this trait. |
| 7 |
|
-#[unstable(feature = "async_fn_traits", issue = "none")] |
|
7 |
+#[unstable(feature = "async_closure", issue = "62290")] |
| 8 |
8 |
#[rustc_paren_sugar] |
| 9 |
9 |
#[fundamental] |
| 10 |
10 |
#[must_use = "async closures are lazy and do nothing unless called"] |
| @@ -18,7 +18,7 @@ pub trait AsyncFn<Args: Tuple>: AsyncFnMut { |
|
|
| 18 |
18 |
/// An async-aware version of the [`FnMut`](crate::ops::FnMut) trait. |
| 19 |
19 |
/// |
| 20 |
20 |
/// All `async fn` and functions returning futures implement this trait. |
| 21 |
|
-#[unstable(feature = "async_fn_traits", issue = "none")] |
|
21 |
+#[unstable(feature = "async_closure", issue = "62290")] |
| 22 |
22 |
#[rustc_paren_sugar] |
| 23 |
23 |
#[fundamental] |
| 24 |
24 |
#[must_use = "async closures are lazy and do nothing unless called"] |
| @@ -39,7 +39,7 @@ pub trait AsyncFnMut<Args: Tuple>: AsyncFnOnce { |
|
|
| 39 |
39 |
/// An async-aware version of the [`FnOnce`](crate::ops::FnOnce) trait. |
| 40 |
40 |
/// |
| 41 |
41 |
/// All `async fn` and functions returning futures implement this trait. |
| 42 |
|
-#[unstable(feature = "async_fn_traits", issue = "none")] |
|
42 |
+#[unstable(feature = "async_closure", issue = "62290")] |
| 43 |
43 |
#[rustc_paren_sugar] |
| 44 |
44 |
#[fundamental] |
| 45 |
45 |
#[must_use = "async closures are lazy and do nothing unless called"] |