1
0
Эх сурвалжийг харах

wrap the result of render_with_location in an option

Evan Almloff 1 жил өмнө
parent
commit
af75fb855f

+ 3 - 1
packages/rsx/src/lib.rs

@@ -85,7 +85,9 @@ impl CallBody {
         };
 
         quote! {
-            #body
+            Some({
+                #body
+            })
         }
     }
 }