diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-13 16:53:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-13 16:53:22 +0000 |
commit | bf59a6ca1006801be18266c5f16d077720f1b8c0 (patch) | |
tree | fe95aa71cb1f7fdb34e598d4181cb990c00a7d04 /src/sys/socket | |
parent | 0435be2ed2b79d13f19197255663e790d624d717 (diff) | |
parent | 84d89e4fc2cdfa41e83da660ee65fd61a095585e (diff) | |
download | nix-bf59a6ca1006801be18266c5f16d077720f1b8c0.zip |
Merge #1671
1671: docs: fix link in doc for cmsg_space in sys/socket r=rtzoeller a=liubin
Link to cmsg_space macro for recvmmsg and recvmsg should
be the doc's root of crate as macro is an exported macro.
Signed-off-by: bin liu <liubin0329@gmail.com>
Co-authored-by: bin liu <liubin0329@gmail.com>
Diffstat (limited to 'src/sys/socket')
-rw-r--r-- | src/sys/socket/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index 9c37e43b..7ed2d82d 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -1471,7 +1471,7 @@ pub struct RecvMmsgData<'a, I> /// /// * `iov`: Scatter-gather list of buffers to receive the message /// * `cmsg_buffer`: Space to receive ancillary data. Should be created by -/// [`cmsg_space!`](macro.cmsg_space.html) +/// [`cmsg_space!`](../../macro.cmsg_space.html) /// /// # Returns /// A `Vec` with multiple `RecvMsg`, one per received message @@ -1692,7 +1692,7 @@ fn pack_mhdr_to_send<'a, I, C>( /// * `fd`: Socket file descriptor /// * `iov`: Scatter-gather list of buffers to receive the message /// * `cmsg_buffer`: Space to receive ancillary data. Should be created by -/// [`cmsg_space!`](macro.cmsg_space.html) +/// [`cmsg_space!`](../../macro.cmsg_space.html) /// * `flags`: Optional flags passed directly to the operating system. /// /// # References |