aboutsummaryrefslogtreecommitdiff
path: root/server/bot/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-11 00:24:11 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-11 00:24:11 +0200
commite68a9eb5e9e15372313f9017be4a2d58fb690bfc (patch)
tree690287a2c71d87c2955e992f1e9575166237188a /server/bot/src/main.rs
parent3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996 (diff)
downloadhurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar
hurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar.bz2
hurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar.zst
clippy + fmt; start using if let chains
Diffstat (limited to 'server/bot/src/main.rs')
-rw-r--r--server/bot/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs
index b1b8bb84..d2bd10c5 100644
--- a/server/bot/src/main.rs
+++ b/server/bot/src/main.rs
@@ -17,8 +17,8 @@
*/
use anyhow::Result;
use clap::Parser;
-use hurrycurry_bot::{algos::ALGO_CONSTRUCTORS, BotAlgo, BotInput};
-use hurrycurry_client_lib::{network::sync::Network, Game};
+use hurrycurry_bot::{BotAlgo, BotInput, algos::ALGO_CONSTRUCTORS};
+use hurrycurry_client_lib::{Game, network::sync::Network};
use hurrycurry_protocol::{Character, Hand, PacketC, PacketS, PlayerClass, PlayerID};
use log::warn;
use std::{thread::sleep, time::Duration};