summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/timer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/runtime/timer.rs')
-rw-r--r--tokio/src/runtime/timer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/runtime/timer.rs b/tokio/src/runtime/timer.rs
index 987324cd..03e501ce 100644
--- a/tokio/src/runtime/timer.rs
+++ b/tokio/src/runtime/timer.rs
@@ -1,9 +1,9 @@
pub(crate) use self::variant::*;
-#[cfg(feature = "timer")]
+#[cfg(feature = "time")]
mod variant {
use crate::runtime::io;
- use crate::timer::{clock, timer};
+ use crate::time::{clock, timer};
pub(crate) type Clock = clock::Clock;
pub(crate) type Driver = timer::Timer<io::Driver>;
@@ -23,7 +23,7 @@ mod variant {
}
}
-#[cfg(not(feature = "timer"))]
+#[cfg(not(feature = "time"))]
mod variant {
use crate::runtime::io;