aboutsummaryrefslogtreecommitdiffstats
path: root/src/epub.rs
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2020-05-16 02:22:35 -0700
committerJames Campos <james.r.campos@gmail.com>2020-05-16 02:22:35 -0700
commitd09560fa20287e5033cca5229649eac140f81e63 (patch)
tree5813ff0bc2d44671486c95592957d1d744f6a9f6 /src/epub.rs
parent9b6d9dcf8b5c538fcbd291eda081302189b8ea84 (diff)
downloadbk-d09560fa20287e5033cca5229649eac140f81e63.tar.gz
meta
Diffstat (limited to 'src/epub.rs')
-rw-r--r--src/epub.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/epub.rs b/src/epub.rs
index f80e2bc..90a53b5 100644
--- a/src/epub.rs
+++ b/src/epub.rs
@@ -28,7 +28,6 @@ impl Epub {
// UnknownEntityReference for HTML entities
let doc = Document::parse(&xml).unwrap();
let body = doc.root_element().last_element_child().unwrap();
- // XXX no initial string, buf.last is none
let mut chapter = String::new();
Epub::render(&mut chapter, body);
epub.chapters.push(chapter);