Merge pull request #224 from seanmonstar/nop-flush

make TcpStream::flush() a noop
This commit is contained in:
Alex Crichton 2017-06-23 18:12:52 -05:00 committed by GitHub
commit 8379b87c53

View File

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