summaryrefslogtreecommitdiffstats
path: root/tokio-test/tests
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-test/tests
parent4dbe6af0a1a1c8e579b92ec8ffc1d419244e0944 (diff)
time: rename `tokio::timer` -> `tokio::time` (#1745)
Diffstat (limited to 'tokio-test/tests')
-rw-r--r--tokio-test/tests/block_on.rs2
-rw-r--r--tokio-test/tests/clock.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tokio-test/tests/block_on.rs b/tokio-test/tests/block_on.rs
index 6d5f481a..c361d500 100644
--- a/tokio-test/tests/block_on.rs
+++ b/tokio-test/tests/block_on.rs
@@ -1,6 +1,6 @@
#![warn(rust_2018_idioms)]
-use tokio::timer::delay;
+use tokio::time::delay;
use tokio_test::block_on;
use std::time::{Duration, Instant};
diff --git a/tokio-test/tests/clock.rs b/tokio-test/tests/clock.rs
index abb61e23..d9d2fcfc 100644
--- a/tokio-test/tests/clock.rs
+++ b/tokio-test/tests/clock.rs
@@ -1,6 +1,6 @@
#![warn(rust_2018_idioms)]
-use tokio::timer::delay;
+use tokio::time::delay;
use tokio_test::clock::MockClock;
use tokio_test::task;
use tokio_test::{assert_pending, assert_ready};