From 5129dbb3fc8904d99dfcd73d160134e359e3a0f3 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 f20ee49843351f..f8b8a6b1b5e747 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.