summaryrefslogtreecommitdiffstats
path: root/examples/echo.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2017-10-24 16:30:16 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-10-30 16:37:00 -0700
commit36aaaa152003e10599fb0c8804c1abbfa11bbbef (patch)
tree8a4ead369b9082a42e766829df7f9b57b913e351 /examples/echo.rs
parent25f30c91c44aaa6adc2530cad8a8bdb9e0b99f90 (diff)
Rename crate to tokio
Diffstat (limited to 'examples/echo.rs')
-rw-r--r--examples/echo.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/echo.rs b/examples/echo.rs
index 2bf8f391..9abd9c38 100644
--- a/examples/echo.rs
+++ b/examples/echo.rs
@@ -18,7 +18,7 @@
//! should be able to see them all make progress simultaneously.
extern crate futures;
-extern crate tokio_core;
+extern crate tokio;
extern crate tokio_io;
use std::env;
@@ -28,8 +28,8 @@ use futures::Future;
use futures::stream::Stream;
use tokio_io::AsyncRead;
use tokio_io::io::copy;
-use tokio_core::net::TcpListener;
-use tokio_core::reactor::Core;
+use tokio::net::TcpListener;
+use tokio::reactor::Core;
fn main() {
// Allow passing an address to listen on as the first argument of this