Skip to content
This repository was archived by the owner on May 17, 2018. It is now read-only.

Commit e3817d7

Browse files
committed
Fix docs
1 parent 37bffa7 commit e3817d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,8 @@ impl UnixDatagram {
806806

807807
/// Sets the read timeout for the socket.
808808
///
809-
/// If the provided value is `None`, then `recv_from` calls will block
810-
/// indefinitely. It is an error to pass the zero `Duration` to this
809+
/// If the provided value is `None`, then `recv` and `recv_from` calls will
810+
/// block indefinitely. It is an error to pass the zero `Duration` to this
811811
/// method.
812812
///
813813
/// Requires the `socket_timeout` feature.
@@ -818,8 +818,8 @@ impl UnixDatagram {
818818

819819
/// Sets the write timeout for the socket.
820820
///
821-
/// If the provided value is `None`, then `send_to` calls will block
822-
/// indefinitely. It is an error to pass the zero `Duration` to this
821+
/// If the provided value is `None`, then `send` and `send_to` calls will
822+
/// block indefinitely. It is an error to pass the zero `Duration` to this
823823
/// method.
824824
///
825825
/// Requires the `socket_timeout` feature.

0 commit comments

Comments
 (0)