diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-11 00:24:11 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-11 00:24:11 +0200 |
| commit | e68a9eb5e9e15372313f9017be4a2d58fb690bfc (patch) | |
| tree | 690287a2c71d87c2955e992f1e9575166237188a /server/bot/src/algos/test.rs | |
| parent | 3fe8ba7f1b9fa7e38fa03f55fd898c8ca2a0e996 (diff) | |
| download | hurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar hurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar.bz2 hurrycurry-e68a9eb5e9e15372313f9017be4a2d58fb690bfc.tar.zst | |
clippy + fmt; start using if let chains
Diffstat (limited to 'server/bot/src/algos/test.rs')
| -rw-r--r-- | server/bot/src/algos/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/bot/src/algos/test.rs b/server/bot/src/algos/test.rs index 5ef11553..361cf4ea 100644 --- a/server/bot/src/algos/test.rs +++ b/server/bot/src/algos/test.rs @@ -16,11 +16,11 @@ */ use crate::{ - pathfinding::{find_path_to_neighbour, Path}, BotAlgo, BotInput, + pathfinding::{Path, find_path_to_neighbour}, }; use hurrycurry_client_lib::Game; -use hurrycurry_protocol::{glam::IVec2, ItemIndex, Message, PlayerID}; +use hurrycurry_protocol::{ItemIndex, Message, PlayerID, glam::IVec2}; use log::info; #[derive(Default)] |