From 48e89baca324065d5b608d776dc31f99e5efc1bc Mon Sep 17 00:00:00 2001 From: Keith Miller Date: Mon, 28 Aug 2023 04:13:20 -0400 Subject: [PATCH] Fix typo in content/tokio/topics (#716) Co-authored-by: Keith Miller --- content/tokio/topics/shutdown.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tokio/topics/shutdown.md b/content/tokio/topics/shutdown.md index c067ceca..5c1158ca 100644 --- a/content/tokio/topics/shutdown.md +++ b/content/tokio/topics/shutdown.md @@ -113,7 +113,7 @@ let task1_handle = tokio::spawn(async move { tokio::spawn(async move { tokio::time::sleep(std::time::Duration::from_millis(10)).await; - // Step 4: Cancel the original or clonned token to notify other tasks about shutting down gracefully + // Step 4: Cancel the original or cloned token to notify other tasks about shutting down gracefully token.cancel(); });