diff --git a/src/book/bookitem.rs b/src/book/bookitem.rs index d8f43fae..7fe7ab55 100644 --- a/src/book/bookitem.rs +++ b/src/book/bookitem.rs @@ -2,7 +2,6 @@ use serde::{Serialize, Serializer}; use serde::ser::SerializeStruct; use std::path::PathBuf; -use errors::*; #[derive(Debug, Clone)] pub enum BookItem { diff --git a/src/book/mod.rs b/src/book/mod.rs index fa902648..d8b75774 100644 --- a/src/book/mod.rs +++ b/src/book/mod.rs @@ -4,7 +4,7 @@ pub use self::bookitem::{BookItem, BookItems}; use std::path::{Path, PathBuf}; use std::fs::{self, File}; -use std::io::{self, Read, Write}; +use std::io::{Read, Write}; use std::process::Command; use {theme, parse, utils}; diff --git a/src/utils/fs.rs b/src/utils/fs.rs index 0bb99976..da45611d 100644 --- a/src/utils/fs.rs +++ b/src/utils/fs.rs @@ -1,6 +1,6 @@ use std::path::{Path, PathBuf, Component}; use errors::*; -use std::io::{self, Read}; +use std::io::Read; use std::fs::{self, File}; /// Takes a path to a file and try to read the file into a String