From 94e55c092b0d8fb583ee19383485818cb1f5e562 Mon Sep 17 00:00:00 2001 From: Joseph Perez Date: Tue, 29 Oct 2024 10:31:39 +0100 Subject: [PATCH] net: fix typo in `TcpStream` internal comment (#6944) --- tokio/src/net/tcp/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/net/tcp/stream.rs b/tokio/src/net/tcp/stream.rs index 2714592d3..82f4c05f6 100644 --- a/tokio/src/net/tcp/stream.rs +++ b/tokio/src/net/tcp/stream.rs @@ -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.