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> {