Update use_shared_state.rs

This commit is contained in:
Marc Espín 2023-06-20 19:13:34 +02:00 committed by GitHub
parent d93d11262d
commit a3654fd0b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ impl<T> ProvidedStateInner<T> {
/// let current_theme = *theme.read(); /// let current_theme = *theme.read();
/// ///
/// render! { /// render! {
/// match &*theme.read() { /// match current_theme {
/// Theme::Dark => { /// Theme::Dark => {
/// "Dark mode" /// "Dark mode"
/// } /// }