Browse Source

formatting

pbs
jake 5 years ago
parent
commit
732f619b9d
  1. 3
      src/common/client.rs

3
src/common/client.rs

@ -22,8 +22,7 @@ impl<S, R> Client<S, R> where
S: SendServerPacket + std::fmt::Debug, S: SendServerPacket + std::fmt::Debug,
R: RecvServerPacket + std::fmt::Debug, R: RecvServerPacket + std::fmt::Debug,
{ {
pub fn new(id: ClientId, socket: mio::tcp::TcpStream) -> Client<S, R>
{
pub fn new(id: ClientId, socket: mio::tcp::TcpStream) -> Client<S, R> {
Client { Client {
id: id, id: id,
running: true, running: true,

Loading…
Cancel
Save