about summary refs log tree commit diff
path: root/src/git-rustfmt/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-rustfmt/main.rs')
-rw-r--r--src/git-rustfmt/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/git-rustfmt/main.rs b/src/git-rustfmt/main.rs
index d6ab3661482..d47827ab55e 100644
--- a/src/git-rustfmt/main.rs
+++ b/src/git-rustfmt/main.rs
@@ -46,8 +46,7 @@ fn prune_files(files: Vec<&str>) -> Vec<&str> {
                 return true;
             }
             pruned_prefixes.iter().all(|pp| !f.starts_with(pp))
-        })
-        .collect()
+        }).collect()
 }
 
 fn git_diff(commits: &str) -> String {