Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
matsumotory committed Oct 13, 2017
1 parent a625274 commit 6f71876
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Expand Up @@ -56,7 +56,8 @@ fn main() {
}
}

fn worker(insock: mpsc::UnboundedReceiver<net::TcpStream>, connections: Arc<Mutex<HashMap<SocketAddr, mpsc::UnboundedSender<String>>>>) {
fn worker(insock: mpsc::UnboundedReceiver<net::TcpStream>,
connections: Arc<Mutex<HashMap<SocketAddr, mpsc::UnboundedSender<String>>>>) {
let mut core = Core::new().unwrap();
let handle = core.handle();

Expand Down

0 comments on commit 6f71876

Please sign in to comment.