Cargo fmt

This commit is contained in:
topecongiro 2017-11-08 18:24:13 +09:00
parent fd10925a08
commit 119b49dad0

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() {