Skip to content

Commit 0cf95f0

Browse files
authored
net: fix docs for recv_buffer_size method (#7336)
1 parent a48e418 commit 0cf95f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/net/tcp/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ impl TcpSocket {
368368
///
369369
/// Note that if [`set_recv_buffer_size`] has been called on this socket
370370
/// previously, the value returned by this function may not be the same as
371-
/// the argument provided to `set_send_buffer_size`. This is for the
371+
/// the argument provided to `set_recv_buffer_size`. This is for the
372372
/// following reasons:
373373
///
374374
/// * Most operating systems have minimum and maximum allowed sizes for the

0 commit comments

Comments
 (0)