wip: more tweaks

This commit is contained in:
Jonathan Kelley committed 2022-11-14 18:09:09 -08:00
1 parent baab2b9b4f
commit 7a6b58d793
4 files changed
+41 -21

No files matched your search

+15
View File
@@ -13,6 +13,7 @@ pub struct Autoformat {
}
impl Autoformat {
// Todo: autoformat the entire crate
pub fn autoformat(self) -> Result<()> {
if let Some(raw) = self.raw {
if let Some(inner) = dioxus_autofmt::fmt_block(&raw, 0) {
@@ -59,3 +60,17 @@ rsx! {
dbg!(out);
}
/*
parse the whole doc
find all the comment blocks
*/