mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
Fixed a small typo of 'writey' where it was expected to be 'ready' in TcpStream and UdpSocket documentation.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user