docs: correct grammar (#1968)

This commit is contained in:
Kelly Thomas Kline 2019-12-17 13:57:25 -08:00 committed by Carl Lerche
parent efb4b67a54
commit 8add90210b
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,