From e0e6e0c1174cd15f69a2b4396daadf565cd7a601 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 25 Jan 2017 18:37:05 +0100 Subject: [PATCH] Remove unused variable --- libimagerror/src/error_gen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagerror/src/error_gen.rs b/libimagerror/src/error_gen.rs index 4f4d6c7e..38cb1590 100644 --- a/libimagerror/src/error_gen.rs +++ b/libimagerror/src/error_gen.rs @@ -416,7 +416,7 @@ mod test { let something : Option = None; match something.ok_or_errkind(TestErrorKind::TestErrorKindA) { Ok(_) => assert!(false), - Err(e) => assert!(true), + Err(_) => assert!(true), } }