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 serde::ser::SerializeStruct;
use std::path::PathBuf; use std::path::PathBuf;
use errors::*;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub enum BookItem { pub enum BookItem {

View file

@ -4,7 +4,7 @@ pub use self::bookitem::{BookItem, BookItems};
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
use std::fs::{self, File}; use std::fs::{self, File};
use std::io::{self, Read, Write}; use std::io::{Read, Write};
use std::process::Command; use std::process::Command;
use {theme, parse, utils}; use {theme, parse, utils};

View file

@ -1,6 +1,6 @@
use std::path::{Path, PathBuf, Component}; use std::path::{Path, PathBuf, Component};
use errors::*; use errors::*;
use std::io::{self, Read}; use std::io::Read;
use std::fs::{self, File}; use std::fs::{self, File};
/// Takes a path to a file and try to read the file into a String /// Takes a path to a file and try to read the file into a String