task: typo fix (#5726)

This commit is contained in:
Nano 2023-05-27 01:43:04 +12:00 committed by GitHub
parent 9eb3f5b556
commit 5e6d4c7999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
///