From 301e700b3f468d47829ab747f7839e0260410bf7 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 19 Jul 2017 17:06:20 -0500 Subject: [PATCH] Disable warnings for playbot Nobody ever wants to see warnings when using playbot, but when they do, they should use playbot-mini where fine grain control of the lints are available. --- src/bin/playbot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/playbot.rs b/src/bin/playbot.rs index dce7ad3..fa9ed88 100644 --- a/src/bin/playbot.rs +++ b/src/bin/playbot.rs @@ -121,7 +121,7 @@ impl Playbot { String::from(code) } else { format!(r#" -#![allow(dead_code, unused_variables)] +#![allow(warnings)] static VERSION: &'static str = "{version}";