aboutsummaryrefslogtreecommitdiffstats
path: root/src/xml/composers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/composers.rs')
-rw-r--r--src/xml/composers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml/composers.rs b/src/xml/composers.rs
index 949bb65..b8fbe13 100644
--- a/src/xml/composers.rs
+++ b/src/xml/composers.rs
@@ -817,6 +817,7 @@ impl<'s> Composer<'s> for Content<'s> {
ContentItem::CDSect(cd_sect) => cd_sect.write(writer).await?,
ContentItem::PI(pi) => pi.write(writer).await?,
ContentItem::Comment(comment) => comment.write(writer).await?,
+ _ => todo!("verify no split chardata"),
}
if let Some(char_data) = char_data {
char_data.write(writer).await?;