From e033e4bcde83051e7a538d6fdf9e81f84b9d5864 Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Thu, 14 Jul 2016 16:35:38 -0400 Subject: [PATCH] Removing print from readline --- src/client.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index 1d98c94..f96cd7b 100644 --- a/src/client.rs +++ b/src/client.rs @@ -295,7 +295,6 @@ impl Client { if let Err(_) = self.stream.read(byte_buffer) { return Err(Error::Io(io::Error::new(io::ErrorKind::Other, "Failed to read line"))); } - print!("{}", String::from_utf8_lossy(byte_buffer)); line_buffer.push(byte_buffer[0]); } Ok(line_buffer)