From dc35c5b82c7461b0710053605fba0600cb355ef5 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 13 Sep 2019 19:21:01 -0700 Subject: [PATCH] whitespace --- src/common/clientpool.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/clientpool.rs b/src/common/clientpool.rs index ddf5fb5..dafd845 100644 --- a/src/common/clientpool.rs +++ b/src/common/clientpool.rs @@ -28,7 +28,7 @@ fn client_read(sender: &Sender>, client: &mut Client ClientPool where fn new_client(&mut self) { let (socket, _addr) = self.listener.accept().unwrap(); - + let client_id = self.client_id_incr; self.client_id_incr += 1; @@ -134,11 +134,11 @@ impl ClientPool where } } } - + } } - + pub fn io_loop(mut self) { self.poll.register(&self.listener, Token(0), Ready::readable(), PollOpt::edge()).unwrap(); self.poll.register(&self.receiver, Token(1), Ready::readable(), PollOpt::edge()).unwrap();