From 119b49dad0d1b9736138dc46dab4483a8d80df44 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Wed, 8 Nov 2017 18:24:13 +0900 Subject: [PATCH] Cargo fmt --- src/bin/git-fmt.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bin/git-fmt.rs b/src/bin/git-fmt.rs index 984134d64de4..20a502f15538 100644 --- a/src/bin/git-fmt.rs +++ b/src/bin/git-fmt.rs @@ -97,7 +97,11 @@ fn uncommitted_files() -> Vec { 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() {