From e68a9eb5e9e15372313f9017be4a2d58fb690bfc Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 11 Oct 2025 00:24:11 +0200 Subject: clippy + fmt; start using if let chains --- server/bot/src/algos/simple.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/bot/src/algos/simple.rs') diff --git a/server/bot/src/algos/simple.rs b/server/bot/src/algos/simple.rs index 914e8809..f8d01b3a 100644 --- a/server/bot/src/algos/simple.rs +++ b/server/bot/src/algos/simple.rs @@ -16,12 +16,12 @@ */ 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, Recipe, RecipeIndex, TileIndex, + ItemIndex, Message, PlayerID, Recipe, RecipeIndex, TileIndex, glam::IVec2, }; use log::{debug, warn}; -- cgit v1.3