Explorar el Código

wrap the result of render_with_location in an option

Evan Almloff hace 1 año
padre
commit
af75fb855f
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      packages/rsx/src/lib.rs

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

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