mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
Fixed a small typo of 'writey' where it was expected to be 'ready' in TcpStream and UdpSocket documentation.
This commit is contained in:
parent
37a2bed4cf
commit
c9554fa174
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user