Skip to content

Commit

Permalink
docs: fix 2 invalid links[skip ci] (nix-rust#2286)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Jan 10, 2024
1 parent 3554102 commit 1acc5e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ impl<'a> Iterator for CmsgIterator<'a> {
}

/// A type-safe wrapper around a single control message, as used with
/// [`recvmsg`](#fn.recvmsg).
/// [`recvmsg`].
///
/// [Further reading](https://man7.org/linux/man-pages/man3/cmsg.3.html)
// Nix version 0.13.0 and earlier used ControlMessage for both recvmsg and
Expand Down Expand Up @@ -1009,9 +1009,9 @@ impl ControlMessageOwned {
}
}

/// A type-safe zero-copy wrapper around a single control message, as used wih
/// [`sendmsg`](#fn.sendmsg). More types may be added to this enum; do not
/// exhaustively pattern-match it.
/// A type-safe zero-copy wrapper around a single control message, as used with
/// [`sendmsg`]. More types may be added to this enum; do not exhaustively
/// pattern-match it.
///
/// [Further reading](https://man7.org/linux/man-pages/man3/cmsg.3.html)
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
Expand Down

0 comments on commit 1acc5e8

Please sign in to comment.