From 266be2bada5d2eb7d93f80e6baf6ec48dc7a2e02 Mon Sep 17 00:00:00 2001 From: Kaede Hoshikawa Date: Sun, 27 Aug 2023 01:07:05 +0900 Subject: [PATCH] Update documentation. --- packages/yew-agent/src/oneshot/provider.rs | 2 +- packages/yew-agent/src/reactor/provider.rs | 4 +++- packages/yew-agent/src/worker/provider.rs | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/yew-agent/src/oneshot/provider.rs b/packages/yew-agent/src/oneshot/provider.rs index 0dbc4d85d11..af424c26e67 100644 --- a/packages/yew-agent/src/oneshot/provider.rs +++ b/packages/yew-agent/src/oneshot/provider.rs @@ -81,7 +81,7 @@ where } } -/// A Oneshot Agent Provider. +/// The Oneshot Agent Provider. /// /// This component provides its children access to an oneshot agent. #[function_component] diff --git a/packages/yew-agent/src/reactor/provider.rs b/packages/yew-agent/src/reactor/provider.rs index fd5d2192e99..5560797e0de 100644 --- a/packages/yew-agent/src/reactor/provider.rs +++ b/packages/yew-agent/src/reactor/provider.rs @@ -82,7 +82,9 @@ where } } -/// The reactor provider. +/// The Reactor Agent Provider. +/// +/// This component provides its children access to a reactor agent. #[function_component] pub fn ReactorProvider(props: &WorkerProviderProps) -> Html where diff --git a/packages/yew-agent/src/worker/provider.rs b/packages/yew-agent/src/worker/provider.rs index 69874f5d801..7853332ec32 100644 --- a/packages/yew-agent/src/worker/provider.rs +++ b/packages/yew-agent/src/worker/provider.rs @@ -110,9 +110,9 @@ where } } -/// A Worker Agent Provider. +/// The Worker Agent Provider. /// -/// This component provides its children access to an worker agent. +/// This component provides its children access to a worker agent. #[function_component] pub fn WorkerProvider(props: &WorkerProviderProps) -> Html where