Skip to content

Commit

Permalink
Fix typos in docs (#940)
Browse files Browse the repository at this point in the history
* Fix typo in `INET` docs

* Fix typo in `PollFlags` docs
  • Loading branch information
arctic-alpaca authored Nov 28, 2023
1 parent 496792e commit 625c0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/linux_raw/event/poll_fd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/net/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
///
Expand Down

0 comments on commit 625c0e0

Please sign in to comment.