filetests: run_passes can take &str, not &String.

This commit is contained in:
Bruce Mitchener
2018-09-23 14:21:28 +07:00
committed by Dan Gohman
parent 2a7cc7e644
commit e07e159bda
2 changed files with 2 additions and 2 deletions

View File

@@ -217,7 +217,7 @@ fn main() {
rest_cmd.is_present("verbose"),
&get_vec(rest_cmd.values_of("pass")),
target_val,
&rest_cmd.value_of("single-file").unwrap().to_string(),
rest_cmd.value_of("single-file").unwrap(),
).map(|_time| ())
}
("print-cfg", Some(rest_cmd)) => {