Skip to content

Commit 2931e23

Browse files
committed
Add some missing backticks
1 parent 90fba87 commit 2931e23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ impl Socket {
14141414

14151415
/// Set the value of the `IP_RECVTOS` option for this socket.
14161416
///
1417-
/// If enabled, the IP_TOS ancillary message is passed with
1417+
/// If enabled, the `IP_TOS` ancillary message is passed with
14181418
/// incoming packets. It contains a byte which specifies the
14191419
/// Type of Service/Precedence field of the packet header.
14201420
#[cfg(not(any(

src/sys/unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ impl RecvFlags {
394394
/// that do support it (such as [`SEQPACKET`]), a record is terminated by
395395
/// sending a message with the end-of-record flag set.
396396
///
397-
/// On Unix this corresponds to the MSG_EOR flag.
397+
/// On Unix this corresponds to the `MSG_EOR` flag.
398398
///
399399
/// [`SEQPACKET`]: Type::SEQPACKET
400400
pub const fn is_end_of_record(self) -> bool {
@@ -406,7 +406,7 @@ impl RecvFlags {
406406
/// This is useful for protocols where you receive out-of-band data
407407
/// mixed in with the normal data stream.
408408
///
409-
/// On Unix this corresponds to the MSG_OOB flag.
409+
/// On Unix this corresponds to the `MSG_OOB` flag.
410410
pub const fn is_out_of_band(self) -> bool {
411411
self.0 & libc::MSG_OOB != 0
412412
}

0 commit comments

Comments
 (0)