From 0cf95f067347bca820099dcec1e457bbe993390b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E6=9D=A5?= Date: Sat, 17 May 2025 17:51:31 +0800 Subject: [PATCH] net: fix docs for `recv_buffer_size` method (#7336) --- tokio/src/net/tcp/socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/net/tcp/socket.rs b/tokio/src/net/tcp/socket.rs index 27c97700f..340e8e89a 100644 --- a/tokio/src/net/tcp/socket.rs +++ b/tokio/src/net/tcp/socket.rs @@ -368,7 +368,7 @@ impl TcpSocket { /// /// Note that if [`set_recv_buffer_size`] has been called on this socket /// previously, the value returned by this function may not be the same as - /// the argument provided to `set_send_buffer_size`. This is for the + /// the argument provided to `set_recv_buffer_size`. This is for the /// following reasons: /// /// * Most operating systems have minimum and maximum allowed sizes for the