Skip to content

Commit 1acc5e8

Browse files
authored
docs: fix 2 invalid links[skip ci] (#2286)
1 parent 3554102 commit 1acc5e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sys/socket/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ impl<'a> Iterator for CmsgIterator<'a> {
639639
}
640640

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

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

0 commit comments

Comments
 (0)