Skip to content

Commit 94e55c0

Browse files
authored
net: fix typo in TcpStream internal comment (#6944)
1 parent 4468f27 commit 94e55c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/tcp/stream.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ impl TcpStream {
12781278

12791279
// == Poll IO functions that takes `&self` ==
12801280
//
1281-
// To read or write without mutable access to the `UnixStream`, combine the
1281+
// To read or write without mutable access to the `TcpStream`, combine the
12821282
// `poll_read_ready` or `poll_write_ready` methods with the `try_read` or
12831283
// `try_write` methods.
12841284

0 commit comments

Comments
 (0)