Remove unused variable

This commit is contained in:
Matthias Beyer 2017-01-25 18:37:05 +01:00
parent d9c1ef482b
commit e0e6e0c117

View file

@ -416,7 +416,7 @@ mod test {
let something : Option<i32> = None; let something : Option<i32> = None;
match something.ok_or_errkind(TestErrorKind::TestErrorKindA) { match something.ok_or_errkind(TestErrorKind::TestErrorKindA) {
Ok(_) => assert!(false), Ok(_) => assert!(false),
Err(e) => assert!(true), Err(_) => assert!(true),
} }
} }