Added ToMessage to Prelude.

This commit is contained in:
Aaron Weiss 2015-02-23 23:11:11 -05:00
parent 54aaec9c76
commit 5a801df82f
2 changed files with 1 additions and 2 deletions

View file

@ -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,

View file

@ -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};
}