make TcpStream::flush() a noop

This commit is contained in:
Sean McArthur 2017-06-23 15:25:25 -07:00
parent d85f54dffb
commit bf93b79120

View File

@ -505,7 +505,7 @@ impl Write for TcpStream {
self.io.write(buf)
}
fn flush(&mut self) -> io::Result<()> {
self.io.flush()
Ok(())
}
}