From afe15ba44f10e8d5a1e63da61d0d8ba81a6eac3b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 20 Oct 2018 08:34:16 -0700 Subject: [PATCH] use executor spawn --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 4b90ff14..bee5ec64 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -2,7 +2,7 @@ use std::marker::PhantomData; use futures::unsync::mpsc; use futures::{future, Async, Future, Poll, Stream}; -use tokio::executor::current_thread::spawn; +use tokio_current_thread::spawn; use super::service::{IntoService, NewService, Service};