diff options
Diffstat (limited to 'tokio/src/time/clock.rs')
-rw-r--r-- | tokio/src/time/clock.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/time/clock.rs b/tokio/src/time/clock.rs index c35fc7b3..fab7ecaf 100644 --- a/tokio/src/time/clock.rs +++ b/tokio/src/time/clock.rs @@ -1,4 +1,4 @@ -#![cfg_attr(not(feature = "rt-core"), allow(dead_code))] +#![cfg_attr(not(feature = "rt"), allow(dead_code))] //! Source of time abstraction. //! @@ -39,13 +39,13 @@ cfg_test_util! { use crate::time::{Duration, Instant}; use std::sync::{Arc, Mutex}; - cfg_rt_core! { + cfg_rt! { fn clock() -> Option<Clock> { crate::runtime::context::clock() } } - cfg_not_rt_core! { + cfg_not_rt! { fn clock() -> Option<Clock> { None } |