Fix formatting in git-fmt

This commit is contained in:
Nick Cameron 2017-11-08 21:10:47 +13:00
parent a3c65d7ca8
commit bfa093d394

View File

@ -97,7 +97,11 @@ fn uncommitted_files() -> Vec<String> {
cmd.arg("--exclude-standard");
let output = cmd.output().expect("Couldn't execute Git");
let stdout = String::from_utf8_lossy(&output.stdout);
stdout.lines().filter(|s| s.ends_with(".rs")).map(|s| s.to_owned()).collect()
stdout
.lines()
.filter(|s| s.ends_with(".rs"))
.map(|s| s.to_owned())
.collect()
}
fn check_uncommitted() {