From cabbd084f89908e91b81300a776cbeb5034396b8 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Mon, 20 Apr 2015 20:54:13 +0200 Subject: Something inbetween working and broken --- examples/01.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/01.rs') diff --git a/examples/01.rs b/examples/01.rs index 6b95be2..eb662ca 100644 --- a/examples/01.rs +++ b/examples/01.rs @@ -1,7 +1,7 @@ #![feature(plugin)] #![plugin(regex_macros)] -extern crate irsc; +/*extern crate irsc; use std::borrow::ToOwned; @@ -33,14 +33,14 @@ fn callback(server: &mut Server, msg: &Message) { _ => () }*/ } - +*/ fn main() { - let mut s = Server::new(); + /*let mut s = Server::new(); s.connect("irc.mozilla.org".to_owned(), 6667).unwrap(); s.nick(NAME).unwrap(); s.user(NAME, "*", "*", DESC).unwrap(); s.join("#botzoo").unwrap(); // Dedicate this thread to listening and event processing - s.listen(&[callback]).unwrap(); + s.listen(&[callback]).unwrap();*/ } -- cgit v1.2.3