summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream
diff options
context:
space:
mode:
authorJuan Alvarez <j@yabit.io>2020-10-12 12:21:44 -0500
committerGitHub <noreply@github.com>2020-10-12 10:21:44 -0700
commit0893841f31542b2b04c5050a8a4a3c45cf867e55 (patch)
tree5ac53629380e882de37264221d79072100d170f5 /tokio/src/stream
parentec99e61945ae46edcb2ee3f282f49f661b63dcd0 (diff)
time: move error types into `time::error` (#2938)
Diffstat (limited to 'tokio/src/stream')
-rw-r--r--tokio/src/stream/timeout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/stream/timeout.rs b/tokio/src/stream/timeout.rs
index b16000c6..669973ff 100644
--- a/tokio/src/stream/timeout.rs
+++ b/tokio/src/stream/timeout.rs
@@ -1,5 +1,5 @@
use crate::stream::{Fuse, Stream};
-use crate::time::{Elapsed, Instant, Sleep};
+use crate::time::{error::Elapsed, Instant, Sleep};
use core::future::Future;
use core::pin::Pin;