Skip to content

Commit ffe2c95

Browse files
author
Michael Hsu
committed
fix doc comment
1 parent f15b6ac commit ffe2c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_tasks/src/task_pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl<'scope, 'env, T: Send + 'scope> Scope<'scope, 'env, T> {
306306
/// the provided future. The results of the future will be returned as a part of
307307
/// [`TaskPool::scope`]'s return value.
308308
///
309-
/// If the provided future is non-`Send`, [`Scope::spawn_local`] should be used
309+
/// For futures that should run on the thread `scope` is called on [`Scope::spawn_on_scope`] should be used
310310
/// instead.
311311
///
312312
/// For more information, see [`TaskPool::scope`].

0 commit comments

Comments
 (0)