diff options
author | Till Hoeppner | 2015-04-18 22:23:15 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-04-18 22:23:15 +0200 |
commit | 288924cf2e41c3dcffa21fa2e8e36ab3d86a7208 (patch) | |
tree | 9db0e02edbc11eeeafd8bcbb34aee0827e708a29 | |
parent | 9bc7096cdb6dcda1229eedf5ac57e6853efa4952 (diff) | |
download | irsc-288924cf2e41c3dcffa21fa2e8e36ab3d86a7208.tar.gz irsc-288924cf2e41c3dcffa21fa2e8e36ab3d86a7208.tar.xz irsc-288924cf2e41c3dcffa21fa2e8e36ab3d86a7208.zip |
Suppress warnings by commenting stuff, but not deleting it yet (yeah, git, I know)
-rw-r--r-- | examples/01.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/01.rs b/examples/01.rs index ee6c99a..6b95be2 100644 --- a/examples/01.rs +++ b/examples/01.rs @@ -5,7 +5,7 @@ extern crate irsc; use std::borrow::ToOwned; -use std::sync::{Once, ONCE_INIT}; +// use std::sync::{Once, ONCE_INIT}; use irsc::server::Server; use irsc::color::bold; @@ -14,7 +14,7 @@ use irsc::message::{ Message, Command }; static NAME: &'static str = "rusticbot"; static DESC: &'static str = "A bot, written in Rust."; -static START: Once = ONCE_INIT; +// static START: Once = ONCE_INIT; fn callback(server: &mut Server, msg: &Message) { match Command::from_message(msg) { |