diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index e617ec015..66fd79759 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -83,7 +83,7 @@ //! [blocking]: task/index.html#blocking-and-yielding //! //! The [`tokio::sync`] module contains synchronization primitives to use when -//! need to communicate or share data. These include: +//! needing to communicate or share data. These include: //! //! * channels ([`oneshot`], [`mpsc`], and [`watch`]), for sending values //! between tasks, diff --git a/tokio/src/runtime/mod.rs b/tokio/src/runtime/mod.rs index 9fb57e14a..11c8d6b7e 100644 --- a/tokio/src/runtime/mod.rs +++ b/tokio/src/runtime/mod.rs @@ -313,7 +313,7 @@ impl Runtime { /// scheduler] is used, while if only the `rt-core` feature is enabled, the /// [basic scheduler] is used instead. /// - /// If the threaded cheduler is selected, it will not spawn + /// If the threaded scheduler is selected, it will not spawn /// any worker threads until it needs to, i.e. tasks are scheduled to run. /// /// Most applications will not need to call this function directly. Instead,