Skip to content

Commit

Permalink
Fixed up some unused-imports warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Jun 25, 2017
1 parent 77c7a8c commit d798ad8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/book/bookitem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use serde::{Serialize, Serializer};
use serde::ser::SerializeStruct;
use std::path::PathBuf;

use errors::*;

#[derive(Debug, Clone)]
pub enum BookItem {
Expand Down
2 changes: 1 addition & 1 deletion src/book/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion src/utils/fs.rs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d798ad8

Please sign in to comment.