Skip to content

Commit 625c0e0

Browse files
Fix typos in docs (#940)
* Fix typo in `INET` docs * Fix typo in `PollFlags` docs
1 parent 496792e commit 625c0e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/linux_raw/event/poll_fd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use bitflags::bitflags;
44
bitflags! {
55
/// `POLL*` flags for use with [`poll`].
66
///
7-
/// [`poll`]: crate::io::poll
7+
/// [`poll`]: crate::event::poll
88
#[repr(transparent)]
99
#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
1010
pub struct PollFlags: u16 {

src/net/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl AddressFamily {
6969
/// # References
7070
/// - [Linux]
7171
///
72-
/// [Linux]: https://man7.org/linux/man-pages/man7/ip.7.html>
72+
/// [Linux]: https://man7.org/linux/man-pages/man7/ip.7.html
7373
pub const INET: Self = Self(c::AF_INET as _);
7474
/// `AF_INET6`
7575
///

0 commit comments

Comments
 (0)