chore: rollback to option instead of anyhow
This commit is contained in:
1 parent
d6804884ab
commit
d3be971f4e
21 files changed
+45
-56
No files matched your search
@@ -171,7 +171,7 @@ impl ToTokens for Component {
|
||||
|
||||
toks.append_all(quote! {
|
||||
.children(
|
||||
Ok({ #renderer })
|
||||
Some({ #renderer })
|
||||
)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ impl ToTokens for CallBody {
|
||||
|
||||
if self.inline_cx {
|
||||
out_tokens.append_all(quote! {
|
||||
Ok({
|
||||
Some({
|
||||
let __cx = cx;
|
||||
#body
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user