From d600d3ac934b1c62b7009c22eabe2f91be4bd974 Mon Sep 17 00:00:00 2001 From: Elina Date: Sun, 21 Jul 2024 16:58:07 +0500 Subject: [PATCH] Fix broken docs link in gloo-worker (#487) [WorkerSpawner](https://docs.rs/gloo-worker/latest/gloo_worker/struct.WorkerSpawner.html) is at `crate::WorkerSpawner`, not `crate::spawner::WorkerSpawner` Fixes #449 --- crates/worker/src/actor/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/worker/src/actor/traits.rs b/crates/worker/src/actor/traits.rs index 4f49d7d1..949115c5 100644 --- a/crates/worker/src/actor/traits.rs +++ b/crates/worker/src/actor/traits.rs @@ -23,7 +23,7 @@ pub trait Worker: Sized { /// New bridge created. /// - /// When a new bridge is created by [`WorkerSpawner::spawn`](crate::spawner::WorkerSpawner) + /// When a new bridge is created by [`WorkerSpawner::spawn`](crate::WorkerSpawner) /// or [`WorkerBridge::fork`](crate::WorkerBridge::fork), /// the worker will be notified the [`HandlerId`] of the created bridge via this method. fn connected(&mut self, scope: &WorkerScope, id: HandlerId) {