net: fix typo in TcpStream internal comment (#6944)

This commit is contained in:
Joseph Perez
2024-10-29 09:31:39 +00:00
committed by GitHub
parent 4468f27c31
commit 94e55c092b
+1 -1
View File
@@ -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.