diff options
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 /// /// ``` |