Skip to content

Commit

Permalink
net: fix typo in TcpStream internal comment (#6944)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo authored Oct 29, 2024
1 parent 4468f27 commit 94e55c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/net/tcp/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ impl TcpStream {

// == Poll IO functions that takes `&self` ==
//
// To read or write without mutable access to the `UnixStream`, combine the
// To read or write without mutable access to the `TcpStream`, combine the
// `poll_read_ready` or `poll_write_ready` methods with the `try_read` or
// `try_write` methods.

Expand Down

0 comments on commit 94e55c0

Please sign in to comment.