From 2db203d3c275626c65fb5f0a552ffc6e5a3f4bf8 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Thu, 30 Apr 2015 16:11:33 +0200 Subject: Update README --- examples/01.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples/01.rs') 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(); -- cgit v1.2.3