Fix clippy (#1532)
This commit is contained in:
1 parent
248d78fbfe
commit
95d8843d9d
1 file changed
+1
-1
@@ -36,7 +36,7 @@ fn suspended_child(cx: Scope) -> Element {
|
|||||||
cx.spawn(async move {
|
cx.spawn(async move {
|
||||||
val += 1;
|
val += 1;
|
||||||
});
|
});
|
||||||
return cx.suspend()?;
|
cx.suspend()?;
|
||||||
}
|
}
|
||||||
|
|
||||||
render!("child")
|
render!("child")
|
||||||
|
|||||||
Reference in new issue
Block a user