Corrected all remaining build warnings

This commit is contained in:
Josh Mcguigan 2018-05-08 17:34:43 -07:00
parent b9881e122a
commit a29929ee34
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
use std::io::{self, Read}; use std::io::{self, Read};
use std::sync::mpsc; use std::sync::mpsc;
use std::thread; use std::thread;
use std::io::BufReader;
use std::io::BufRead;
use sys::tty::get_tty; use sys::tty::get_tty;
@ -22,7 +20,7 @@ pub fn async_stdin_until(delimiter: u8) -> AsyncReader {
if end_of_stream || send_error { return; } if end_of_stream || send_error { return; }
}, },
Err(e) => { return; } Err(_) => { return; }
} }
}); });