From 77eb27a9fb5aab29f5e9a0e743f56714caa2ac14 Mon Sep 17 00:00:00 2001 From: Noah Kennedy Date: Fri, 2 May 2025 17:21:31 -0500 Subject: [PATCH] lol --- tokio/src/runtime/task_hooks/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/task_hooks/mod.rs b/tokio/src/runtime/task_hooks/mod.rs index e2f943230..c28a0b9dd 100644 --- a/tokio/src/runtime/task_hooks/mod.rs +++ b/tokio/src/runtime/task_hooks/mod.rs @@ -5,7 +5,7 @@ use std::ptr::NonNull; use std::sync::Arc; /// A factory which produces new [`TaskHookHarness`] objects for tasks which either have been -/// spawned in "detached mode" via [`tokio::task::spawn_with_hooks`], or which were spawned from outside the runtime or +/// spawned in "detached mode" via [`crate::task::spawn_with_hooks`], or which were spawned from outside the runtime or /// from another context where no [`TaskHookHarness`] was present. pub trait TaskHookHarnessFactory { /// Create a new [`TaskHookHarness`] object which the runtime will attach to a given task.