Skip to content

Commit

Permalink
Fix typo in content/tokio/topics (#716)
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Miller <[email protected]>
  • Loading branch information
keithmss and Keith Miller authored Aug 28, 2023
1 parent 6ddd740 commit 48e89ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/tokio/topics/shutdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit 48e89ba

Please sign in to comment.