From 3483b65e9173d9ef7ea709de898b3a7866045fbd Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sat, 18 Apr 2015 15:12:41 +0200 Subject: Make tests/examples compile, not work though --- src/server.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server.rs') diff --git a/src/server.rs b/src/server.rs index dfe5051..8f48938 100644 --- a/src/server.rs +++ b/src/server.rs @@ -2,7 +2,7 @@ use std::io::{ self, Write, Read, -// BufRead, + BufRead, BufReader, }; @@ -154,7 +154,7 @@ impl Server { None => return Err(::IrscError::NotConnected) }); - /*for line in reader.lines() { + for line in reader.lines() { let line = line.unwrap().parse(); if let Ok(msg) = line { @@ -164,7 +164,7 @@ impl Server { e(self, &msg) } } - }*/ + } Ok(()) } } -- cgit v1.2.3