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