From a29929ee34e0d9f4deb26b48f6abb4c38d82462e Mon Sep 17 00:00:00 2001 From: Josh Mcguigan Date: Tue, 8 May 2018 17:34:43 -0700 Subject: [PATCH] Corrected all remaining build warnings --- src/async.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/async.rs b/src/async.rs index 94e8d81..ea02489 100644 --- a/src/async.rs +++ b/src/async.rs @@ -1,8 +1,6 @@ use std::io::{self, Read}; use std::sync::mpsc; use std::thread; -use std::io::BufReader; -use std::io::BufRead; use sys::tty::get_tty; @@ -22,7 +20,7 @@ pub fn async_stdin_until(delimiter: u8) -> AsyncReader { if end_of_stream || send_error { return; } }, - Err(e) => { return; } + Err(_) => { return; } } });