wip: some docs and suspense

This commit is contained in:
Jonathan Kelley committed 2021-11-23 15:53:57 -05:00
1 parent bab21a0aa1
commit 93d4b8ca7c
22 files changed
+210 -252

No files matched your search

+1 -4
View File
@@ -149,7 +149,7 @@ impl<'a> TextRenderer<'a, '_> {
}
write!(f, "{}", text.text)?
}
VNode::Anchor(_anchor) => {
VNode::Placeholder(_anchor) => {
//
if self.cfg.indent {
for _ in 0..il {
@@ -252,9 +252,6 @@ impl<'a> TextRenderer<'a, '_> {
} else {
}
}
VNode::Suspended { .. } => {
// we can't do anything with suspended nodes
}
}
Ok(())
}