summaryrefslogtreecommitdiff
path: root/cli/tokio_util.rs
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-04-17 15:25:51 +0200
committerBert Belder <bertbelder@gmail.com>2019-04-17 15:35:46 +0200
commit8477daa8b970ae8ef042a5242aee705003b63fc1 (patch)
tree61fb35d8b367749c35df82f399c176edc7773464 /cli/tokio_util.rs
parent90c2b10f47ab123f0ea7d71f3eeb3ee9172f7000 (diff)
Fix clippy warnings
Diffstat (limited to 'cli/tokio_util.rs')
-rw-r--r--cli/tokio_util.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/tokio_util.rs b/cli/tokio_util.rs
index bf27c39f0..5b975ff40 100644
--- a/cli/tokio_util.rs
+++ b/cli/tokio_util.rs
@@ -48,7 +48,6 @@ pub fn init<F>(f: F)
where
F: FnOnce(),
{
- use tokio_executor;
let rt = tokio::runtime::Runtime::new().unwrap();
let mut executor = rt.executor();
let mut enter = tokio_executor::enter().expect("Multiple executors at once");