aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTill Hoeppner2015-04-30 16:11:33 +0200
committerTill Hoeppner2015-04-30 16:15:19 +0200
commit2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8 (patch)
tree442d691f58298c11eaf0daa31d439f1e865628e8 /examples
parent3e898f8451229bcc4988b40e2edcaec348bf7f79 (diff)
downloadirsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.tar.gz
irsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.tar.xz
irsc-2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8.zip
Update README
Diffstat (limited to 'examples')
-rw-r--r--examples/01.rs5
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();