Skip to content

Commit 17033f8

Browse files
committed
review
1 parent d5495aa commit 17033f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/net/tcp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ use crate::time::Duration;
5454
/// } // the stream is closed here
5555
/// ```
5656
///
57-
/// # SIGPIPE
57+
/// # Platform-specific Behavior
5858
///
59-
/// Writes to the underlying socket in `SOCK_STREAM` mode are made with `MSG_NOSIGNAL` flag.
59+
/// On Unix writes to the underlying socket in `SOCK_STREAM` mode are made with `MSG_NOSIGNAL` flag.
6060
/// This suppresses the emission of the `SIGPIPE` signal when writing to disconnected socket.
6161
/// In some cases getting a `SIGPIPE` would trigger process termination.
6262
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)