Merge pull request #1108 from marc2332/patch-7

feat: Simplify `use_shared_state` doc example
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-06-20 13:41:50 -04:00
commit 11c9abcf7c
1 file changed
+1 -1
+1 -1
View File
@@ -71,7 +71,7 @@ impl<T> ProvidedStateInner<T> {
/// let current_theme = *theme.read();
///
/// render! {
/// match &*theme.read() {
/// match current_theme {
/// Theme::Dark => {
/// "Dark mode"
/// }