diff options
author | Till Hoeppner | 2015-04-30 16:11:33 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-04-30 16:15:19 +0200 |
commit | 2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8 (patch) | |
tree | 442d691f58298c11eaf0daa31d439f1e865628e8 /examples/01.rs | |
parent | 3e898f8451229bcc4988b40e2edcaec348bf7f79 (diff) | |
download | irsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.tar.gz irsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.tar.xz irsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.zip |
Update README
Diffstat (limited to 'examples/01.rs')
-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(); |