File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,10 @@ use crate::time::Duration;
56
56
///
57
57
/// # Platform-specific Behavior
58
58
///
59
- /// On Unix 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
60
+ /// `MSG_NOSIGNAL` flag.
60
61
/// This suppresses the emission of the `SIGPIPE` signal when writing to disconnected socket.
61
- /// In some cases getting a `SIGPIPE` would trigger process termination.
62
+ /// In some cases, getting a `SIGPIPE` would trigger process termination.
62
63
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
63
64
pub struct TcpStream ( net_imp:: TcpStream ) ;
64
65
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ use crate::time::Duration;
57
57
/// }
58
58
/// ```
59
59
///
60
- /// # SIGPIPE
60
+ /// # ` SIGPIPE`
61
61
///
62
62
/// Writes to the underlying socket in `SOCK_STREAM` mode are made with `MSG_NOSIGNAL` flag.
63
63
/// This suppresses the emission of the `SIGPIPE` signal when writing to disconnected socket.
You can’t perform that action at this time.
0 commit comments