Remove warnings in tests;
This commit is contained in:
committed by
Dan Gohman
parent
c78a9a4a7c
commit
03c22ed67a
@@ -100,8 +100,7 @@ fn main() {
|
||||
}
|
||||
}
|
||||
("deserialize", Some(m)) => {
|
||||
let mut file =
|
||||
File::open(m.value_of("FILE").unwrap()).expect("Unable to open the file");
|
||||
let file = File::open(m.value_of("FILE").unwrap()).expect("Unable to open the file");
|
||||
call_de(&file)
|
||||
}
|
||||
_ => Err("Invalid subcommand.".to_string()),
|
||||
|
||||
Reference in New Issue
Block a user