Switch to using refs instead of owned for autofmt write block out (#2573)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-07-02 12:27:11 -07:00
1 parent d4831edcf7
commit 1404d26455
8 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ fn main() {
let body = rsx_rosetta::rsx_from_html(&dom);
let out = dioxus_autofmt::write_block_out(body).unwrap();
let out = dioxus_autofmt::write_block_out(&body).unwrap();
println!("{out}");
}