Skip to content

Commit 6d41b99

Browse files
committed
Clarifications for set_nonblocking methods
1 parent 03ff0df commit 6d41b99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

std/src/net/tcp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ impl TcpStream {
561561

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

std/src/net/udp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ impl UdpSocket {
764764

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

0 commit comments

Comments
 (0)