diff options
-rw-r--r-- | xtask/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 190baeddf..40a6682be 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -144,6 +144,7 @@ pub fn run_fuzzer() -> Result<()> { | |||
144 | } | 144 | } |
145 | 145 | ||
146 | pub fn reformat_staged_files() -> Result<()> { | 146 | pub fn reformat_staged_files() -> Result<()> { |
147 | run_rustfmt(Mode::Overwrite)?; | ||
147 | let root = project_root(); | 148 | let root = project_root(); |
148 | let output = Command::new("git") | 149 | let output = Command::new("git") |
149 | .arg("diff") | 150 | .arg("diff") |