chore: take domtree by reference
This commit is contained in:
1 parent
bc707db832
commit
1389766596
2 files changed
+20
-18
No files matched your search
@@ -16,7 +16,7 @@ fn main() {
|
||||
|
||||
let dom = Dom::parse(html).unwrap();
|
||||
|
||||
let body = rsx_rosetta::convert_from_html(dom);
|
||||
let body = rsx_rosetta::rsx_from_html(dom);
|
||||
|
||||
let out = dioxus_autofmt::write_block_out(body).unwrap();
|
||||
|
||||
|
||||
Reference in new issue
Block a user