diff --git a/README.md b/README.md index 73899943..33203a53 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/tutorial-code/mini-tokio/src/main.rs b/tutorial-code/mini-tokio/src/main.rs index aec6205b..09b6bde1 100644 --- a/tutorial-code/mini-tokio/src/main.rs +++ b/tutorial-code/mini-tokio/src/main.rs @@ -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