Switch to using refs instead of owned for autofmt write block out (#2573)
This commit is contained in:
1 parent
d4831edcf7
commit
1404d26455
8 files changed
+11
-11
No files matched your search
@@ -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}");
|
||||
}
|
||||
Reference in new issue
Block a user