From 74e54935ad4f9d74a87d5b6fc0a1ed798c67b970 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 7 Jul 2022 00:13:33 +0000 Subject: [PATCH] thanks clippy you are the best --- src/ship/ship.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ship/ship.rs b/src/ship/ship.rs index d375520..11c5fb9 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -640,7 +640,7 @@ impl ServerState for ShipServerState { }, RecvShipPacket::MenuDetail(menudetail) => { let block = self.blocks.with_client(id, &self.clients)?; - Box::new(handler::lobby::get_room_tab_info(id, menudetail, &mut block.client_location, &mut self.clients, &mut block.rooms)?.into_iter()) + Box::new(handler::lobby::get_room_tab_info(id, menudetail, &mut block.client_location, &self.clients, &mut block.rooms)?.into_iter()) }, RecvShipPacket::RoomPasswordReq(room_password_req) => { let block = self.blocks.with_client(id, &self.clients)?;