summaryrefslogtreecommitdiffstats
path: root/futures/src/backend/native/tokio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'futures/src/backend/native/tokio.rs')
-rw-r--r--futures/src/backend/native/tokio.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/futures/src/backend/native/tokio.rs b/futures/src/backend/native/tokio.rs
index c38ef566..911d788c 100644
--- a/futures/src/backend/native/tokio.rs
+++ b/futures/src/backend/native/tokio.rs
@@ -1,5 +1,4 @@
//! A `tokio` backend.
-use futures::Future;
/// A `tokio` executor.
pub type Executor = tokio::runtime::Runtime;
@@ -22,12 +21,11 @@ impl crate::Executor for Executor {
pub mod time {
//! Listen and react to time.
+ use crate::MaybeSend;
use crate::core::time::{Duration, Instant};
use crate::subscription::Subscription;
- use crate::MaybeSend;
use futures::stream;
- use std::future::Future;
/// Returns a [`Subscription`] that produces messages at a set interval.
///