Clarifications for set_nonblocking methods · qinheping/verify-rust-std@6d41b99 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -561,7 +561,7 @@ impl TcpStream {
561 561
562 562 /// Moves this TCP stream into or out of nonblocking mode.
563 563 ///
564 - /// This will result in `read`, `write`, `recv` and `send` operations
564 + /// This will result in `read`, `write`, `recv` and `send` system operations
565 565 /// becoming nonblocking, i.e., immediately returning from their calls.
566 566 /// If the IO operation is successful, `Ok` is returned and no further
567 567 /// action is required. If the IO operation could not be completed and needs
Original file line number Diff line number Diff line change
@@ -764,7 +764,7 @@ impl UdpSocket {
764 764
765 765 /// Moves this UDP socket into or out of nonblocking mode.
766 766 ///
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
768 768 /// operations becoming nonblocking, i.e., immediately returning from their
769 769 /// calls. If the IO operation is successful, `Ok` is returned and no
770 770 /// further action is required. If the IO operation could not be completed