Fix clippy (#1532)

This commit is contained in:
Leonard 2023-10-09 01:24:38 +02:00 committed by GitHub
parent 248d78fbfe
commit 95d8843d9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ fn suspended_child(cx: Scope) -> Element {
cx.spawn(async move {
val += 1;
});
return cx.suspend()?;
cx.suspend()?;
}
render!("child")