mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
chore: remove un-needed fmt skip
This commit is contained in:
parent
6b92e883ef
commit
92ad618723
1 changed files with 2 additions and 4 deletions
|
|
@ -20,7 +20,6 @@ struct Cli {
|
||||||
port: Option<u16>,
|
port: Option<u16>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[rustfmt::skip]
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
let args = Cli::parse();
|
let args = Cli::parse();
|
||||||
|
|
||||||
|
|
@ -29,8 +28,7 @@ fn main() -> Result<()> {
|
||||||
None => return Err(error::Error::UnknownGame(args.game)),
|
None => return Err(error::Error::UnknownGame(args.game)),
|
||||||
};
|
};
|
||||||
|
|
||||||
println!("{:#?}", query(game, &args.ip, args.port)?.as_json());
|
println!("{:#?}", query(game, &args.ip, args.port)?.as_json());
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue