diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/lib.rs | 1 | ||||
-rw-r--r-- | xtask/src/main.rs | 2 |
2 files changed, 2 insertions, 1 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") |
diff --git a/xtask/src/main.rs b/xtask/src/main.rs index c52902bb5..4201c6a6a 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs | |||
@@ -20,7 +20,7 @@ use xtask::{ | |||
20 | }; | 20 | }; |
21 | 21 | ||
22 | // Latest stable, feel free to send a PR if this lags behind. | 22 | // Latest stable, feel free to send a PR if this lags behind. |
23 | const REQUIRED_RUST_VERSION: u32 = 39; | 23 | const REQUIRED_RUST_VERSION: u32 = 40; |
24 | 24 | ||
25 | struct InstallOpt { | 25 | struct InstallOpt { |
26 | client: Option<ClientOpt>, | 26 | client: Option<ClientOpt>, |