Added ToMessage to Prelude.
This commit is contained in:
parent
54aaec9c76
commit
5a801df82f
2 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue