Remove dead_code macro
All checks were successful
Build and push container image / build (push) Successful in 7m19s
All checks were successful
Build and push container image / build (push) Successful in 7m19s
This commit is contained in:
parent
fd28c21399
commit
151a4429c1
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -794,7 +794,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "kon"
|
name = "kon"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cargo_toml",
|
"cargo_toml",
|
||||||
"gamedig",
|
"gamedig",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "kon"
|
name = "kon"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
rust-version = "1.74"
|
rust-version = "1.74"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ use std::{
|
|||||||
env::var
|
env::var
|
||||||
};
|
};
|
||||||
|
|
||||||
#[allow(dead_code)] // Smh...
|
|
||||||
fn query_server() -> Result<Response, Error> {
|
fn query_server() -> Result<Response, Error> {
|
||||||
let server_ip = var("ATS_SERVER_IP").expect("Expected a \"ATS_SERVER_IP\" in the envvar but none was found");
|
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();
|
let addr = SocketAddr::from_str(&server_ip).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user