Skip to content

Commit

Permalink
Fix typos (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
proski authored Jan 18, 2024
1 parent d49064b commit 648329a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The website for the Tokio project. Lives at https://tokio.rs.

Besides containing the content for the website, it also includes crates
containing the example code used in the tutorial. These crates can be compiled
and ran.
and run.

* [hello-tokio](tutorial-code/hello-tokio/src/main.rs)
* [spawning](tutorial-code/spawning/src/main.rs)
Expand Down
2 changes: 1 addition & 1 deletion tutorial-code/mini-tokio/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ where
// not use this strategy. However, it can be implemented with few lines of code,
// so here we are.
async fn delay(dur: Duration) {
// `delay` is a leaf future. Sometimes, this is refered to as a "resource".
// `delay` is a leaf future. Sometimes, this is referred to as a "resource".
// Other resources include sockets and channels. Resources may not be
// implemented in terms of `async/await` as they must integrate with some
// operating system detail. Because of this, we must manually implement the
Expand Down

0 comments on commit 648329a

Please sign in to comment.