Fix docs typo in TcpStream connect

This commit is contained in:
Jiri Andras
2022-12-07 10:10:32 +01:00
committed by GitHub
parent 919bae6832
commit 4e66fb703e
+1 -1
View File
@@ -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