From c9554fa1746b5ca54952570123f1d2f44917a8f9 Mon Sep 17 00:00:00 2001 From: Ryan Scott Date: Tue, 25 Oct 2016 10:11:18 +0900 Subject: [PATCH] Fixed a small typo of 'writey' where it was expected to be 'ready' in TcpStream and UdpSocket documentation. --- src/net/tcp.rs | 2 +- src/net/udp.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/tcp.rs b/src/net/tcp.rs index c6c65983f..8f7f0d247 100644 --- a/src/net/tcp.rs +++ b/src/net/tcp.rs @@ -269,7 +269,7 @@ impl TcpStream { self.io.poll_read() } - /// Test whether this socket is writey to be written to or not. + /// Test whether this socket is ready to be written to or not. /// /// If the socket is *not* writable then the current task is scheduled to /// get a notification when the socket does become writable. That is, this diff --git a/src/net/udp.rs b/src/net/udp.rs index ceaf36156..a88a8ca16 100644 --- a/src/net/udp.rs +++ b/src/net/udp.rs @@ -57,7 +57,7 @@ impl UdpSocket { self.io.poll_read() } - /// Test whether this socket is writey to be written to or not. + /// Test whether this socket is ready to be written to or not. /// /// If the socket is *not* writable then the current task is scheduled to /// get a notification when the socket does become writable. That is, this