Fixed a small typo of 'writey' where it was expected to be 'ready' in TcpStream and UdpSocket documentation.

This commit is contained in:
Ryan Scott 2016-10-25 10:11:18 +09:00
parent 37a2bed4cf
commit c9554fa174
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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