diff options
author | Carl Lerche <me@carllerche.com> | 2020-01-29 11:16:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 11:16:58 -0800 |
commit | 6232c74724ab05fe164e95a8985065f44b5973bd (patch) | |
tree | 7b318f9cead8e9b18264b00ed374f3a8d8f4e917 /tokio/src/macros/join.rs | |
parent | be832f20cb30bc014cd2518617d9a7ce72f6480c (diff) |
macros: correctly feature gate join/try_join (#2196)
The `macros` feature flag was ommitted despite the fact that these
macros require the feature flag to function. The macros are now scoped
by the `macros` feature flag.
This is *not* a breaking change due to the fact that the macros were
broken without the `macros` feature flag in the first place.
Diffstat (limited to 'tokio/src/macros/join.rs')
-rw-r--r-- | tokio/src/macros/join.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tokio/src/macros/join.rs b/tokio/src/macros/join.rs index 68da021e..5f37af51 100644 --- a/tokio/src/macros/join.rs +++ b/tokio/src/macros/join.rs @@ -53,6 +53,7 @@ /// } /// ``` #[macro_export] +#[cfg_attr(docsrs, doc(cfg(feature = "macros")))] macro_rules! join { (@ { // One `_` for each branch in the `join!` macro. This is not used once |