aboutsummaryrefslogtreecommitdiffstats
path: root/src/epub.rs
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2020-07-05 16:48:22 -0700
committerJames Campos <james.r.campos@gmail.com>2020-07-05 16:48:22 -0700
commite580dab8a303b08cab5e4a1780fc4448d1234b74 (patch)
tree48891ffbf7415bb2cf18fb178877cdc69a9ff88a /src/epub.rs
parentf54dfbd9ffdf1367bf027dc062bab82483def2ab (diff)
downloadbk-e580dab8a303b08cab5e4a1780fc4448d1234b74.tar.gz
lines as byte indexes
Diffstat (limited to 'src/epub.rs')
-rw-r--r--src/epub.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/epub.rs b/src/epub.rs
index 0945ad6..c4f79e3 100644
--- a/src/epub.rs
+++ b/src/epub.rs
@@ -1,8 +1,5 @@
-use std::collections::HashMap;
-use std::fs::File;
-use std::io::Read;
-
use roxmltree::{Document, Node};
+use std::{collections::HashMap, fs::File, io::Read};
pub struct Epub {
container: zip::ZipArchive<File>,