mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
Track futures tokio-reform branch (#88)
This patch also updates tests and examples to remove deprecated API usage.
This commit is contained in:
+2
-2
@@ -51,7 +51,7 @@ use std::net::SocketAddr;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use futures::prelude::*;
|
||||
use futures::future::Executor;
|
||||
use futures::future::{self, Executor};
|
||||
use futures_cpupool::CpuPool;
|
||||
use tokio::net::TcpListener;
|
||||
use tokio_io::AsyncRead;
|
||||
@@ -160,7 +160,7 @@ fn main() {
|
||||
Ok(())
|
||||
});
|
||||
|
||||
done.wait().unwrap();
|
||||
future::blocking(done).wait().unwrap();
|
||||
}
|
||||
|
||||
impl Request {
|
||||
|
||||
Reference in New Issue
Block a user