summaryrefslogtreecommitdiffstats
path: root/examples/hello.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello.rs')
-rw-r--r--examples/hello.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/hello.rs b/examples/hello.rs
index d9e46d17..5ceb431b 100644
--- a/examples/hello.rs
+++ b/examples/hello.rs
@@ -19,7 +19,6 @@ extern crate tokio_io;
use std::env;
use std::net::SocketAddr;
-use futures::future;
use futures::prelude::*;
use tokio::net::TcpListener;
@@ -41,5 +40,5 @@ fn main() {
Ok(())
});
- future::blocking(server).wait().unwrap();
+ server.wait().unwrap();
}