From 09f4c07da6e20556255974be4a5c0bf3a8d7bded Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Wed, 14 Jan 2026 21:09:33 +0100 Subject: [PATCH 1/2] Fix typo in documentation Typo found with codespell --- src/event/kqueue.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/kqueue.rs b/src/event/kqueue.rs index 897d93980..840ac3aa0 100644 --- a/src/event/kqueue.rs +++ b/src/event/kqueue.rs @@ -436,7 +436,7 @@ pub unsafe fn kevent_timespec>( /// `kqueue`. /// /// This is a wrapper around [`kevent_timespec`] which takes a `Duration` -/// instead of a `Timespec` for the timemout value. `Timespec` has a signed +/// instead of a `Timespec` for the timeout value. `Timespec` has a signed /// `i64` seconds field; if converting `Duration` to `Timespec` overflows, /// `None` is passed as the timeout instead, such such a large timeout would /// be effectively infinite in practice. From d2e4eee99c97cca29ad7c87f4b67351b2d4ec232 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Wed, 14 Jan 2026 21:09:43 +0100 Subject: [PATCH 2/2] Fix grammar in documentation --- src/not_implemented.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/not_implemented.rs b/src/not_implemented.rs index 7220295b6..5e4658e86 100644 --- a/src/not_implemented.rs +++ b/src/not_implemented.rs @@ -1,7 +1,7 @@ //! Documentation about unimplemented functions. //! //! This module contains documentation for several functions that rustix does -//! not implement, either because they are out of scope, or because they are +//! not implement, either because they are out of scope, or because they //! could probably be implemented but are not yet. macro_rules! not_implemented {