mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
docs: correct grammar (#1968)
This commit is contained in:
parent
efb4b67a54
commit
8add90210b
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user