libimagerror: Eliminate unused imports

Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
This commit is contained in:
Gavin Thomas Claugus 2016-07-28 08:25:49 -04:00
parent 014a40c9df
commit 6578abdf3d

View file

@ -331,7 +331,7 @@ mod test {
#[test]
fn test_error_kind_mapping() {
use std::io::{Error, ErrorKind};
use self::error::{OkOrErr, MapErrInto};
use self::error::MapErrInto;
use self::error::TestErrorKind;
let err : Result<(), _> = Err(Error::new(ErrorKind::Other, ""));
@ -349,7 +349,7 @@ mod test {
#[test]
fn test_error_kind_double_mapping() {
use std::io::{Error, ErrorKind};
use self::error::{OkOrErr, MapErrInto};
use self::error::MapErrInto;
use self::error::TestErrorKind;
let err : Result<(), _> = Err(Error::new(ErrorKind::Other, ""));
@ -373,7 +373,7 @@ mod test {
#[test]
fn test_error_option_good() {
use self::error::{OkOrErr, MapErrInto};
use self::error::OkOrErr;
use self::error::TestErrorKind;
let something = Some(1);
@ -385,7 +385,7 @@ mod test {
#[test]
fn test_error_option_bad() {
use self::error::{OkOrErr, MapErrInto};
use self::error::OkOrErr;
use self::error::TestErrorKind;
let something : Option<i32> = None;