--- a/rust/hedgewars-server/src/core/client.rs Tue May 28 19:04:18 2019 +0300
+++ b/rust/hedgewars-server/src/core/client.rs Tue May 28 21:28:32 2019 +0300
@@ -18,7 +18,7 @@
}
}
-pub struct HWClient {
+pub struct HwClient {
pub id: ClientId,
pub room_id: Option<usize>,
pub nick: String,
@@ -29,9 +29,9 @@
pub clan: Option<u8>,
}
-impl HWClient {
- pub fn new(id: ClientId, protocol_number: u16, nick: String) -> HWClient {
- HWClient {
+impl HwClient {
+ pub fn new(id: ClientId, protocol_number: u16, nick: String) -> HwClient {
+ HwClient {
id,
nick,
protocol_number,