Skip to content

Commit

Permalink
refactor(lib): use try_nb! from tokio_io, not tokio_core
Browse files Browse the repository at this point in the history
tokio_core::io is deprecated, and the try_nb! conceptually belongs to
that module. It is also available in tokio_io, so use that instead.
  • Loading branch information
bluetech committed Apr 30, 2017
1 parent a13ed6e commit f382f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ extern crate language_tags;
#[macro_use] pub extern crate mime;
extern crate base64;
extern crate time;
#[macro_use] extern crate tokio_core as tokio;
extern crate tokio_io;
extern crate tokio_core as tokio;
#[macro_use] extern crate tokio_io;
extern crate tokio_proto;
extern crate tokio_service;
extern crate unicase;
Expand Down

0 comments on commit f382f45

Please sign in to comment.