re-export tokio-current-thread::spawn (#579)

Re-export it inside the tokio::runtime::current_thread, as the original
place (tokio::executor::current_thread) is hidden from documentation and
users need some way to spawn non-Send futures.
This commit is contained in:
Michal 'vorner' Vaner
2018-08-25 12:51:49 -07:00
committed by Carl Lerche
parent 82c5baa09b
commit 6e45e0ac61
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -71,6 +71,7 @@ mod runtime;
pub use self::builder::Builder;
pub use self::runtime::{Runtime, Handle};
pub use tokio_current_thread::spawn;
use futures::Future;