From 5e6d4c7999805a74d3dde95cd39ffdbb20bc2636 Mon Sep 17 00:00:00 2001 From: Nano Date: Sat, 27 May 2023 01:43:04 +1200 Subject: [PATCH] task: typo fix (#5726) --- tokio/src/task/local.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/task/local.rs b/tokio/src/task/local.rs index b709c2155..734b95587 100644 --- a/tokio/src/task/local.rs +++ b/tokio/src/task/local.rs @@ -299,7 +299,7 @@ cfg_rt! { /// /// Note that if [`tokio::spawn`] is used from within a `LocalSet`, the /// resulting new task will _not_ be inside the `LocalSet`, so you must use - /// use `spawn_local` if you want to stay within the `LocalSet`. + /// `spawn_local` if you want to stay within the `LocalSet`. /// /// # Examples ///