remove static bound on owner
This commit is contained in:
1 parent
90b4dd806e
commit
88198fc47c
1 file changed
+1
-1
@@ -102,7 +102,7 @@ pub fn use_shared_state<T: 'static>(cx: &ScopeState) -> Option<&UseSharedState<T
|
|||||||
state.as_ref().map(|s| &s.state)
|
state.as_ref().map(|s| &s.state)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct UseSharedStateOwner<T: 'static> {
|
struct UseSharedStateOwner<T> {
|
||||||
state: UseSharedState<T>,
|
state: UseSharedState<T>,
|
||||||
scope_id: ScopeId,
|
scope_id: ScopeId,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user