--- 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"),
}