diff options
Diffstat (limited to 'tokio-util/src')
-rw-r--r-- | tokio-util/src/cfg.rs | 6 | ||||
-rw-r--r-- | tokio-util/src/lib.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tokio-util/src/cfg.rs b/tokio-util/src/cfg.rs index a848223f..ee423d43 100644 --- a/tokio-util/src/cfg.rs +++ b/tokio-util/src/cfg.rs @@ -40,11 +40,11 @@ macro_rules! cfg_io { } } -macro_rules! cfg_rt_core { +macro_rules! cfg_rt { ($($item:item)*) => { $( - #[cfg(feature = "rt-core")] - #[cfg_attr(docsrs, doc(cfg(feature = "rt-core")))] + #[cfg(feature = "rt")] + #[cfg_attr(docsrs, doc(cfg(feature = "rt")))] $item )* } diff --git a/tokio-util/src/lib.rs b/tokio-util/src/lib.rs index 55fd67eb..10b828ef 100644 --- a/tokio-util/src/lib.rs +++ b/tokio-util/src/lib.rs @@ -47,7 +47,7 @@ cfg_io! { pub mod io; } -cfg_rt_core! { +cfg_rt! { pub mod context; } |