From b2aa001dc54501151ee0b7035f1b0d7b75e9f43d Mon Sep 17 00:00:00 2001 From: Revertron Date: Mon, 3 Jan 2022 22:06:41 +0100 Subject: [PATCH] Fixed build warning on linux. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fc506ff..63add49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ const SETTINGS_FILENAME: &str = "alfis.toml"; const LOG_TARGET_MAIN: &str = "alfis::Main"; fn main() { - #[allow(unused_assignments)] + #[allow(unused_assignments, unused_mut)] let mut console_attached = true; // When linked with the windows subsystem windows won't automatically attach // to the console of the parent process, so we do it explicitly. This fails silently if the parent has no console.