net: fix docs for recv_buffer_size method (#7336)

This commit is contained in:
剑来 2025-05-17 17:51:31 +08:00 committed by GitHub
parent a48e418dcb
commit 0cf95f0673
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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