File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1414,7 +1414,7 @@ impl Socket {
1414
1414
1415
1415
/// Set the value of the `IP_RECVTOS` option for this socket.
1416
1416
///
1417
- /// If enabled, the IP_TOS ancillary message is passed with
1417
+ /// If enabled, the ` IP_TOS` ancillary message is passed with
1418
1418
/// incoming packets. It contains a byte which specifies the
1419
1419
/// Type of Service/Precedence field of the packet header.
1420
1420
#[ cfg( not( any(
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ impl RecvFlags {
394
394
/// that do support it (such as [`SEQPACKET`]), a record is terminated by
395
395
/// sending a message with the end-of-record flag set.
396
396
///
397
- /// On Unix this corresponds to the MSG_EOR flag.
397
+ /// On Unix this corresponds to the ` MSG_EOR` flag.
398
398
///
399
399
/// [`SEQPACKET`]: Type::SEQPACKET
400
400
pub const fn is_end_of_record ( self ) -> bool {
@@ -406,7 +406,7 @@ impl RecvFlags {
406
406
/// This is useful for protocols where you receive out-of-band data
407
407
/// mixed in with the normal data stream.
408
408
///
409
- /// On Unix this corresponds to the MSG_OOB flag.
409
+ /// On Unix this corresponds to the ` MSG_OOB` flag.
410
410
pub const fn is_out_of_band ( self ) -> bool {
411
411
self . 0 & libc:: MSG_OOB != 0
412
412
}
You can’t perform that action at this time.
0 commit comments