summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/sync/mod.rs')
-rw-r--r--tokio/src/sync/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs
index ddb289eb..57ae2778 100644
--- a/tokio/src/sync/mod.rs
+++ b/tokio/src/sync/mod.rs
@@ -464,7 +464,7 @@ cfg_not_sync! {
pub(crate) use mutex::Mutex;
}
- #[cfg(any(feature = "rt-core", feature = "signal", all(unix, feature = "process")))]
+ #[cfg(any(feature = "rt", feature = "signal", all(unix, feature = "process")))]
pub(crate) mod notify;
cfg_atomic_waker_impl! {
@@ -473,7 +473,7 @@ cfg_not_sync! {
}
#[cfg(any(
- feature = "rt-core",
+ feature = "rt",
feature = "process",
feature = "signal"))]
pub(crate) mod oneshot;