This commit is contained in:
John Smith
2022-06-29 13:57:53 -04:00
parent 8fbc985e9b
commit 11740dc1eb
3 changed files with 2 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ cfg_if! {
} else if #[cfg(feature="rt-tokio")] {
pub use tokio::task::JoinHandle;
pub use tokio::net::TcpStream;
pub use tokio_util::compat::*;
pub use tokio::time::error::Elapsed as TimeoutError;
pub fn spawn_local<F: Future<Output = T> + 'static, T: 'static>(f: F) -> JoinHandle<T> {
tokio::task::spawn_local(f)