diff options
author | David LeGare <legare@google.com> | 2022-03-04 01:44:05 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-03-04 01:44:05 +0000 |
commit | b9180251b318c57c5c635cff669a6ea82d56e516 (patch) | |
tree | 7b826874213015b98b9e0383a89c88be66b64b11 /src/async_await | |
parent | d4344fa6b0ff2c5a8487fa8f1ed3904ad46cd82a (diff) | |
parent | 737dc9728807dc6e09c840fce95dc954780f4b71 (diff) | |
download | futures-util-b9180251b318c57c5c635cff669a6ea82d56e516.tar.gz |
Update futures-util to 0.3.21 am: 737dc97288
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures-util/+/2004175
Change-Id: Ic28ebff7fde2d526b314e3c16727a694e615b8df
Diffstat (limited to 'src/async_await')
-rw-r--r-- | src/async_await/join_mod.rs | 2 | ||||
-rw-r--r-- | src/async_await/select_mod.rs | 5 | ||||
-rw-r--r-- | src/async_await/stream_select_mod.rs | 5 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/async_await/join_mod.rs b/src/async_await/join_mod.rs index c5cdd9b..28f3b23 100644 --- a/src/async_await/join_mod.rs +++ b/src/async_await/join_mod.rs @@ -81,12 +81,10 @@ macro_rules! document_join_macro { #[allow(unreachable_pub)] #[doc(hidden)] -#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))] pub use futures_macro::join_internal; #[allow(unreachable_pub)] #[doc(hidden)] -#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))] pub use futures_macro::try_join_internal; document_join_macro! { diff --git a/src/async_await/select_mod.rs b/src/async_await/select_mod.rs index 37e938d..1d13067 100644 --- a/src/async_await/select_mod.rs +++ b/src/async_await/select_mod.rs @@ -29,9 +29,6 @@ macro_rules! document_select_macro { /// It is also gated behind the `async-await` feature of this library, which is /// activated by default. /// - /// Note that `select!` relies on `proc-macro-hack`, and may require to set the - /// compiler's recursion limit very high, e.g. `#![recursion_limit="1024"]`. - /// /// # Examples /// /// ``` @@ -309,12 +306,10 @@ macro_rules! document_select_macro { #[cfg(feature = "std")] #[allow(unreachable_pub)] #[doc(hidden)] -#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))] pub use futures_macro::select_internal; #[allow(unreachable_pub)] #[doc(hidden)] -#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))] pub use futures_macro::select_biased_internal; document_select_macro! { diff --git a/src/async_await/stream_select_mod.rs b/src/async_await/stream_select_mod.rs index 7743406..1c8002f 100644 --- a/src/async_await/stream_select_mod.rs +++ b/src/async_await/stream_select_mod.rs @@ -3,7 +3,6 @@ #[cfg(feature = "std")] #[allow(unreachable_pub)] #[doc(hidden)] -#[cfg_attr(not(fn_like_proc_macro), proc_macro_hack::proc_macro_hack(support_nested))] pub use futures_macro::stream_select_internal; /// Combines several streams, all producing the same `Item` type, into one stream. @@ -13,10 +12,6 @@ pub use futures_macro::stream_select_internal; /// /// If multiple streams are ready, one will be pseudo randomly selected at runtime. /// -/// This macro is gated behind the `async-await` feature of this library, which is activated by default. -/// Note that `stream_select!` relies on `proc-macro-hack`, and may require to set the compiler's recursion -/// limit very high, e.g. `#![recursion_limit="1024"]`. -/// /// # Examples /// /// ``` |