rust/hedgewars-server/src/server/handlers/checker.rs
changeset 14457 98ef2913ec73
parent 14415 06672690d71b
child 14697 f64e21f164a5
--- a/rust/hedgewars-server/src/server/handlers/checker.rs	Sun Dec 16 00:09:20 2018 +0100
+++ b/rust/hedgewars-server/src/server/handlers/checker.rs	Sun Dec 16 00:12:29 2018 +0100
@@ -1,17 +1,12 @@
+use log::*;
 use mio;
-use log::*;
 
 use crate::{
-    server::{
-        core::HWServer,
-        coretypes::ClientId,
-    },
-    protocol::messages::{
-        HWProtocolMessage
-    },
+    protocol::messages::HWProtocolMessage,
+    server::{core::HWServer, coretypes::ClientId},
 };
 
-pub fn handle(server: & mut HWServer, client_id: ClientId, message: HWProtocolMessage) {
+pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) {
     match message {
         _ => warn!("Unknown command"),
     }