diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/01.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/01.rs b/examples/01.rs index 5021aac..345adba 100644 --- a/examples/01.rs +++ b/examples/01.rs @@ -1,8 +1,4 @@ -#![feature(plugin)] -#![plugin(regex_macros)] - extern crate irsc; -extern crate env_logger; use std::borrow::ToOwned; use std::borrow::Cow::*; @@ -38,7 +34,6 @@ fn callback(server: &mut Client, msg: &Message) { } fn main() { - env_logger::init().unwrap(); let mut s = Client::new(); s.connect("irc.mozilla.org".to_owned(), 6667).unwrap(); s.send(NICK(Borrowed(NAME))).unwrap(); |