From 288924cf2e41c3dcffa21fa2e8e36ab3d86a7208 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sat, 18 Apr 2015 22:23:15 +0200 Subject: Suppress warnings by commenting stuff, but not deleting it yet (yeah, git, I know) --- examples/01.rs | 4 ++-- 1 file 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) { -- cgit v1.2.3