Jonathan Kelley %!s(int64=2) %!d(string=hai) anos
pai
achega
6a4979b574
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/rsx-rosetta/examples/html.rs

+ 1 - 1
packages/rsx-rosetta/examples/html.rs

@@ -16,7 +16,7 @@ fn main() {
 
     let dom = Dom::parse(html).unwrap();
 
-    let body = rsx_rosetta::rsx_from_html(dom);
+    let body = rsx_rosetta::rsx_from_html(&dom);
 
     let out = dioxus_autofmt::write_block_out(body).unwrap();