From 151a4429c1d8c9d3645f3134358f13e3c3329727 Mon Sep 17 00:00:00 2001 From: toast Date: Sat, 30 Dec 2023 10:24:38 +1100 Subject: [PATCH] Remove dead_code macro --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/commands/ats_status.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d09ce63..ed76786 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -794,7 +794,7 @@ dependencies = [ [[package]] name = "kon" -version = "0.1.3" +version = "0.1.4" dependencies = [ "cargo_toml", "gamedig", diff --git a/Cargo.toml b/Cargo.toml index 2854c3a..9daf4e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kon" -version = "0.1.3" +version = "0.1.4" rust-version = "1.74" edition = "2021" diff --git a/src/commands/ats_status.rs b/src/commands/ats_status.rs index 7bb6f06..0be1f21 100644 --- a/src/commands/ats_status.rs +++ b/src/commands/ats_status.rs @@ -14,7 +14,6 @@ use std::{ env::var }; -#[allow(dead_code)] // Smh... fn query_server() -> Result { let server_ip = var("ATS_SERVER_IP").expect("Expected a \"ATS_SERVER_IP\" in the envvar but none was found"); let addr = SocketAddr::from_str(&server_ip).unwrap();