summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/builder.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-11-06 23:53:46 -0800
committerGitHub <noreply@github.com>2019-11-06 23:53:46 -0800
commit7e35922a1d282b1e3dadf037cd237be336b331fb (patch)
treee82a816ee44f6c333a32f263940e80a1c1680943 /tokio/src/runtime/builder.rs
parent4dbe6af0a1a1c8e579b92ec8ffc1d419244e0944 (diff)
time: rename `tokio::timer` -> `tokio::time` (#1745)
Diffstat (limited to 'tokio/src/runtime/builder.rs')
-rw-r--r--tokio/src/runtime/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs
index 6081c10e..3a81af3e 100644
--- a/tokio/src/runtime/builder.rs
+++ b/tokio/src/runtime/builder.rs
@@ -22,7 +22,7 @@ use std::fmt;
///
/// ```
/// use tokio::runtime::Builder;
-/// use tokio::timer::clock::Clock;
+/// use tokio::time::clock::Clock;
///
/// fn main() {
/// // build Runtime
@@ -324,7 +324,7 @@ impl Builder {
#[cfg(feature = "rt-full")]
fn build_threadpool(&mut self) -> io::Result<Runtime> {
use crate::runtime::{Kind, ThreadPool};
- use crate::timer::clock;
+ use crate::time::clock;
use std::sync::Mutex;
let mut net_handles = Vec::new();