Upgrade to Rust 1.34.0 (#3781)

* Upgrade to Rust 1.34.0

* Remove redundant closures

Thanks Clippy!
This commit is contained in:
Greg Fitzgerald
2019-04-15 15:56:08 -06:00
committed by GitHub
parent 3e1214a871
commit 80f3568062
9 changed files with 12 additions and 12 deletions

View File

@@ -213,7 +213,7 @@ fn main() -> Result<(), String> {
let program_name = matches.value_of("program_name").unwrap();
let program_arguments = matches
.values_of("program_arguments")
.map(|iter| iter.collect())
.map(Iterator::collect)
.unwrap_or_else(|| vec![]);
command::run(config_file, program_name, program_arguments)