From 625c0e0448eab7b01713341916ddf493de4ab411 Mon Sep 17 00:00:00 2001 From: arctic-alpaca <67190338+arctic-alpaca@users.noreply.github.com> Date: Tue, 28 Nov 2023 02:46:12 +0100 Subject: [PATCH] Fix typos in docs (#940) * Fix typo in `INET` docs * Fix typo in `PollFlags` docs --- src/backend/linux_raw/event/poll_fd.rs | 2 +- src/net/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/linux_raw/event/poll_fd.rs b/src/backend/linux_raw/event/poll_fd.rs index 51c222e62..9de43f263 100644 --- a/src/backend/linux_raw/event/poll_fd.rs +++ b/src/backend/linux_raw/event/poll_fd.rs @@ -4,7 +4,7 @@ use bitflags::bitflags; bitflags! { /// `POLL*` flags for use with [`poll`]. /// - /// [`poll`]: crate::io::poll + /// [`poll`]: crate::event::poll #[repr(transparent)] #[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)] pub struct PollFlags: u16 { diff --git a/src/net/types.rs b/src/net/types.rs index 711174354..ad60e36cb 100644 --- a/src/net/types.rs +++ b/src/net/types.rs @@ -69,7 +69,7 @@ impl AddressFamily { /// # References /// - [Linux] /// - /// [Linux]: https://man7.org/linux/man-pages/man7/ip.7.html> + /// [Linux]: https://man7.org/linux/man-pages/man7/ip.7.html pub const INET: Self = Self(c::AF_INET as _); /// `AF_INET6` ///