-
Consider this code piece: struct Page {
state: Arc<Option<HashSet<String>>>
}
impl Component for Page {
fn view(&self, ctx: &Context<Self>) -> Html {
match &*self.state {
Some(s) => {
s.iter().something_more()
}
}
}
} I got error on |
Beta Was this translation helpful? Give feedback.
Answered by
Magicloud
Feb 2, 2022
Replies: 1 comment
-
I see. The problem is way down on a callback. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Magicloud
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see. The problem is way down on a callback.