Clarifications for set_nonblocking methods

This commit is contained in:
Yoh Deadfall 2024-09-23 12:54:07 +03:00
parent b0af276da3
commit e424a8c01f
2 changed files with 2 additions and 2 deletions

View file

@ -561,7 +561,7 @@ impl TcpStream {
/// Moves this TCP stream into or out of nonblocking mode.
///
/// This will result in `read`, `write`, `recv` and `send` operations
/// This will result in `read`, `write`, `recv` and `send` system operations
/// becoming nonblocking, i.e., immediately returning from their calls.
/// If the IO operation is successful, `Ok` is returned and no further
/// action is required. If the IO operation could not be completed and needs

View file

@ -764,7 +764,7 @@ impl UdpSocket {
/// Moves this UDP socket into or out of nonblocking mode.
///
/// This will result in `recv`, `recv_from`, `send`, and `send_to`
/// This will result in `recv`, `recv_from`, `send`, and `send_to` system
/// operations becoming nonblocking, i.e., immediately returning from their
/// calls. If the IO operation is successful, `Ok` is returned and no
/// further action is required. If the IO operation could not be completed