Skip to content

Commit

Permalink
Fix docs typo in TcpStream connect
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverjantar authored Dec 7, 2022
1 parent dbb582c commit 1f8cd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/tcp/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f8cd97

Please sign in to comment.