gameServer2/src/server/handlers/common.rs
changeset 13801 59ea2403f62d
parent 13671 09f4a30e50cc
child 14379 e5db279308d7
equal deleted inserted replaced
13800:e335daaa77a9 13801:59ea2403f62d
    21 }
    21 }
    22 
    22 
    23 #[cfg(test)]
    23 #[cfg(test)]
    24 mod tests {
    24 mod tests {
    25     use super::*;
    25     use super::*;
    26     use protocol::messages::HWServerMessage::ChatMsg;
    26     use crate::protocol::messages::HWServerMessage::ChatMsg;
    27     use server::actions::{
    27     use crate::server::actions::{
    28         Action::{self, Send}, PendingMessage,
    28         Action::{self, Send}, PendingMessage,
    29     };
    29     };
    30 
    30 
    31     fn reply2string(r: HWServerMessage) -> String {
    31     fn reply2string(r: HWServerMessage) -> String {
    32         match r {
    32         match r {