From 6a4979b5748d8e921f945a24f9fde64cc8648385 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Thu, 29 Dec 2022 02:37:46 -0500 Subject: [PATCH] fix example --- packages/rsx-rosetta/examples/html.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rsx-rosetta/examples/html.rs b/packages/rsx-rosetta/examples/html.rs index ef3006f31..d3aabb86c 100644 --- a/packages/rsx-rosetta/examples/html.rs +++ b/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();