summaryrefslogtreecommitdiffstats
path: root/tokio/src/park
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2020-10-13 06:13:23 +0900
committerGitHub <noreply@github.com>2020-10-12 14:13:23 -0700
commitc90681bd8e629b5fde988b9f5be7b915e5cf8ae5 (patch)
treee70838b9437123dc986ebcfeb8fc0c44ca3fe667 /tokio/src/park
parent24d0a0cfa8916eaef17f40f044d978aa3904d654 (diff)
rt: simplify rt-* features (#2949)
tokio: merge rt-core and rt-util as rt rename rt-threaded to rt-multi-thread tokio-util: rename rt-core to rt Closes #2942
Diffstat (limited to 'tokio/src/park')
-rw-r--r--tokio/src/park/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/park/mod.rs b/tokio/src/park/mod.rs
index e4b97512..5db26ce7 100644
--- a/tokio/src/park/mod.rs
+++ b/tokio/src/park/mod.rs
@@ -34,11 +34,11 @@
//! * `park_timeout` does the same as `park` but allows specifying a maximum
//! time to block the thread for.
-cfg_rt_core! {
+cfg_rt! {
pub(crate) mod either;
}
-#[cfg(any(feature = "rt-core", feature = "rt-util", feature = "sync"))]
+#[cfg(any(feature = "rt", feature = "sync"))]
pub(crate) mod thread;
use std::sync::Arc;