From 6578abdf3d059b38e2937ef3a4621497ffc8c1bc Mon Sep 17 00:00:00 2001 From: Gavin Thomas Claugus Date: Thu, 28 Jul 2016 08:25:49 -0400 Subject: [PATCH] libimagerror: Eliminate unused imports Signed-off-by: Gavin Thomas Claugus --- libimagerror/src/error_gen.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libimagerror/src/error_gen.rs b/libimagerror/src/error_gen.rs index c4cf7c27..f55f042a 100644 --- a/libimagerror/src/error_gen.rs +++ b/libimagerror/src/error_gen.rs @@ -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 = None;