From be013897f12b91d9402727f3948b7a5b9e3d462a Mon Sep 17 00:00:00 2001 From: Michael Hsu Date: Fri, 22 Apr 2022 20:39:59 -0700 Subject: [PATCH] fix doc link --- crates/bevy_tasks/src/task_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_tasks/src/task_pool.rs b/crates/bevy_tasks/src/task_pool.rs index f20ee49843351..f8b8a6b1b5e74 100644 --- a/crates/bevy_tasks/src/task_pool.rs +++ b/crates/bevy_tasks/src/task_pool.rs @@ -205,7 +205,7 @@ impl TaskPool { /// /// # Lifetimes /// - /// The [`TaskPool::Scope`] object takes two lifetimes: `'scope` and `'env`. + /// The [`Scope`] object takes two lifetimes: `'scope` and `'env`. /// /// The `'scope` lifetime represents the lifetime of the scope. That is the time during /// which the provided closure and tasks that are spawned into the scope are run.