mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
Merge pull request #78 from Archytaus/master
Fix typo in TcpStream and UdpSocket documentation
This commit is contained in:
+1
-1
@@ -269,7 +269,7 @@ impl TcpStream {
|
|||||||
self.io.poll_read()
|
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
|
/// 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
|
/// get a notification when the socket does become writable. That is, this
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ impl UdpSocket {
|
|||||||
self.io.poll_read()
|
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
|
/// 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
|
/// get a notification when the socket does become writable. That is, this
|
||||||
|
|||||||
Reference in New Issue
Block a user