From 648329aaecd29368be0587a5d930de52db745e8f Mon Sep 17 00:00:00 2001 From: Pavel Roskin <1317472+proski@users.noreply.github.com> Date: Thu, 18 Jan 2024 05:42:59 -0800 Subject: [PATCH] Fix typos (#746) --- README.md | 2 +- tutorial-code/mini-tokio/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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