From b779e52ba76b7eab00a6f37a0f90260b125028b2 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Thu, 8 Sep 2022 20:27:31 +0200 Subject: [PATCH] docs: Add link to usage example to `State` docs (#5165) --- core/tauri/src/state.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/tauri/src/state.rs b/core/tauri/src/state.rs index 8b26f132b..d3805e60e 100644 --- a/core/tauri/src/state.rs +++ b/core/tauri/src/state.rs @@ -9,6 +9,8 @@ use crate::{ use state::Container; /// A guard for a state value. +/// +/// See [`Manager::manage`](`crate::Manager::manage`) for usage examples. pub struct State<'r, T: Send + Sync + 'static>(&'r T); impl<'r, T: Send + Sync + 'static> State<'r, T> {