Skip to content

Commit 887ca60

Browse files
committed
Fix ioctl docs link and fd module wording
1 parent 035acdc commit 887ca60

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ API modules are conditional with cargo feature flags.
109109
[`rustix::io`]: https://docs.rs/rustix/*/rustix/io/index.html
110110
[`rustix::fd`]: https://docs.rs/rustix/*/rustix/fd/index.html
111111
[`rustix::ffi`]: https://docs.rs/rustix/*/rustix/ffi/index.html
112-
[`rustix::ioctl`]: https://docs.rs/rustix/*/rustix/ffi/ioctl.html
112+
[`rustix::ioctl`]: https://docs.rs/rustix/*/rustix/ioctl/index.html
113113

114114
## 64-bit Large File Support (LFS) and Year 2038 (y2038) support
115115

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ mod backend;
198198

199199
/// Export the `*Fd` types and traits that are used in rustix's public API.
200200
///
201-
/// This module exports the types and traits from [`std::os::fd`], or polyills
201+
/// This module exports the types and traits from [`std::os::fd`], or polyfills
202202
/// on Rust < 1.66 or on Windows.
203203
///
204204
/// On Windows, the polyfill consists of aliases of the socket types and
205-
/// traits, For example, [`OwnedSocket`] is aliased to `OwnedFd`, and so on,
205+
/// traits. For example, [`OwnedSocket`] is aliased to `OwnedFd`, and so on,
206206
/// and there are blanket impls for `AsFd` etc. that map to `AsSocket` impls.
207207
/// These blanket impls suffice for using the traits, however not for
208208
/// implementing them, so this module also exports `AsSocket` and the other

0 commit comments

Comments
 (0)