diff --git a/examples/simple_cmd.rs b/examples/simple_cmd.rs index 3841648..2cccdd2 100644 --- a/examples/simple_cmd.rs +++ b/examples/simple_cmd.rs @@ -2,7 +2,6 @@ extern crate irc; use std::default::Default; use irc::client::prelude::*; -use irc::client::data::message::ToMessage; // This is the same as simple.rs, except we use an Iterator over Commands // instead of an Iterator over Messages. A Command is basically a parsed Message, diff --git a/src/client/mod.rs b/src/client/mod.rs index 1c6badf..29bc207 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -11,6 +11,6 @@ pub mod prelude { pub use client::server::{IrcServer, Server}; pub use client::server::utils::Wrapper; - pub use client::data::{Command, Config, Message, Response}; + pub use client::data::{Command, Config, Message, Response, ToMessage}; pub use client::data::kinds::{IrcReader, IrcWriter}; }