mirror of
https://github.com/openharmony/third_party_rust_mio.git
synced 2026-06-30 20:58:01 -04:00
Fix docs typo in TcpStream connect
This commit is contained in:
@@ -72,7 +72,7 @@ impl TcpStream {
|
||||
/// `ErrorKind::NotConnected` it means the stream is not yet connected,
|
||||
/// go back to step 3. If it returns an address it means the stream is
|
||||
/// connected, go to step 5. If another error is returned something
|
||||
/// whent wrong.
|
||||
/// went wrong.
|
||||
/// 5. Now the stream can be used.
|
||||
///
|
||||
/// This may return a `WouldBlock` in which case the socket connection
|
||||
|
||||
Reference in New Issue
Block a user