Skip to content

Commit 412ab49

Browse files
committed
Don't fail in TcpStream.flush
1 parent 8cf60de commit 412ab49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/io/net/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl Writer for TcpStream {
9393
}
9494
}
9595

96-
fn flush(&mut self) { fail!() }
96+
fn flush(&mut self) { /* no-op */ }
9797
}
9898

9999
pub struct TcpListener(~RtioTcpListenerObject);

0 commit comments

Comments
 (0)