Fixed up some unused-imports warnings

This commit is contained in:
Michael Bryan 2017-06-25 14:21:23 +08:00
parent af05306046
commit 83354ab24b
3 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@ use serde::{Serialize, Serializer};
use serde::ser::SerializeStruct;
use std::path::PathBuf;
use errors::*;
#[derive(Debug, Clone)]
pub enum BookItem {

View File

@ -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};

View File

@ -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