Skip to content

Commit

Permalink
doc: typo fixes (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaverde authored Jan 12, 2021
1 parent 40d9592 commit da09213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tokio/src/io/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ where
}
}

/// Repeates operations that are interrupted
/// Repeats operations that are interrupted
macro_rules! uninterruptibly {
($e:expr) => {{
loop {
Expand Down
4 changes: 2 additions & 2 deletions tokio/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//!
//! Tokio's [`Runtime`] bundles all of these services as a single type, allowing
//! them to be started, shut down, and configured together. However, often it is
//! not required to configure a [`Runtime`] manually, and user may just use the
//! not required to configure a [`Runtime`] manually, and a user may just use the
//! [`tokio::main`] attribute macro, which creates a [`Runtime`] under the hood.
//!
//! # Usage
Expand Down Expand Up @@ -114,7 +114,7 @@
//!
//! The multi-thread scheduler executes futures on a _thread pool_, using a
//! work-stealing strategy. By default, it will start a worker thread for each
//! CPU core available on the system. This tends to be the ideal configurations
//! CPU core available on the system. This tends to be the ideal configuration
//! for most applications. The multi-thread scheduler requires the `rt-multi-thread`
//! feature flag, and is selected by default:
//! ```
Expand Down

0 comments on commit da09213

Please sign in to comment.