Add proper MSRV to Cargo.toml

This commit is contained in:
CosminPerRam 2023-01-13 01:31:57 +02:00
parent 3928d3a818
commit 824c4d34c0
4 changed files with 4 additions and 6 deletions

View file

@ -6,7 +6,7 @@ fn main() {
let response = mc::query("127.0.0.1", None);
match response {
Err(error) => println!("Couldn't query, error: {error}"),
Err(error) => println!("Couldn't query, error: {}", error),
Ok(r) => println!("{:#?}", r)
}
}

View file

@ -4,7 +4,7 @@ use gamedig::games::tf2;
fn main() {
let response = tf2::query("127.0.0.1", None); //or Some(27015), None is the default protocol port (which is 27015)
match response {
Err(error) => println!("Couldn't query, error: {error}"),
Err(error) => println!("Couldn't query, error: {}", error),
Ok(r) => println!("{:#?}", r)
}
}