mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
Merge pull request #224 from seanmonstar/nop-flush
make TcpStream::flush() a noop
This commit is contained in:
+1
-1
@@ -505,7 +505,7 @@ impl Write for TcpStream {
|
||||
self.io.write(buf)
|
||||
}
|
||||
fn flush(&mut self) -> io::Result<()> {
|
||||
self.io.flush()
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user