Skip to content

Commit 97bb47b

Browse files
authored
task: fix a typo in doc of LocalSet::run_until (#6599)
1 parent 86658bd commit 97bb47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/task/local.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ impl LocalSet {
598598
/// allowing it to call [`spawn_local`] to spawn additional `!Send` futures.
599599
/// Any local futures spawned on the local set will be driven in the
600600
/// background until the future passed to `run_until` completes. When the future
601-
/// passed to `run` finishes, any local futures which have not completed
601+
/// passed to `run_until` finishes, any local futures which have not completed
602602
/// will remain on the local set, and will be driven on subsequent calls to
603603
/// `run_until` or when [awaiting the local set] itself.
604604
///

0 commit comments

Comments
 (0)