Reorganized imports in reactor.rs.
This commit is contained in:
parent
47bbf38497
commit
fc4b4cad7f
1 changed files with 4 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
||||||
//! A system for creating and managing multiple connections to IRC servers.
|
//! A system for creating and managing multiple connections to IRC servers.
|
||||||
|
|
||||||
|
use futures::{Future, Stream};
|
||||||
|
use futures::future;
|
||||||
|
use tokio_core::reactor::Core;
|
||||||
|
|
||||||
use client::data::Config;
|
use client::data::Config;
|
||||||
use client::server::{IrcServer, IrcServerFuture, Server};
|
use client::server::{IrcServer, IrcServerFuture, Server};
|
||||||
use error;
|
use error;
|
||||||
use proto::Message;
|
use proto::Message;
|
||||||
|
|
||||||
use futures::{Future, Stream};
|
|
||||||
use futures::future;
|
|
||||||
use tokio_core::reactor::Core;
|
|
||||||
|
|
||||||
pub struct IrcReactor {
|
pub struct IrcReactor {
|
||||||
inner: Core,
|
inner: Core,
|
||||||
handlers: Vec<Box<Future<Item = (), Error = error::Error>>>,
|
handlers: Vec<Box<Future<Item = (), Error = error::Error>>>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue