summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6b622ce1..6985add4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -49,11 +49,11 @@
//! use tokio_io::AsyncRead;
//! use tokio_io::io::copy;
//! use tokio::net::TcpListener;
-//! use tokio::reactor::Core;
+//! use tokio::reactor::Reactor;
//!
//! fn main() {
//! // Create the event loop that will drive this server.
-//! let mut core = Core::new().unwrap();
+//! let mut core = Reactor::new().unwrap();
//! let handle = core.handle();
//!
//! let pool = CpuPool::new_num_cpus();