diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-10-23 16:57:47 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-23 16:57:47 +0100 |
commit | 2197205885f43441f14861f34449426295397dd9 (patch) | |
tree | 3af21aaefe1efdabafeb5702959e1094504813e7 /xtask/src/bin | |
parent | edf4d8e555c6847fb9e6e61d727c4def11789bfc (diff) | |
parent | 6048d294009f0f58593747e0870aa174e29a32af (diff) |
Merge #2050
2050: xtask: don't depend on itertools r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/bin')
-rw-r--r-- | xtask/src/bin/pre-commit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/bin/pre-commit.rs b/xtask/src/bin/pre-commit.rs index 4ee864756..cc6ccb25e 100644 --- a/xtask/src/bin/pre-commit.rs +++ b/xtask/src/bin/pre-commit.rs | |||
@@ -2,10 +2,10 @@ | |||
2 | 2 | ||
3 | use std::process::Command; | 3 | use std::process::Command; |
4 | 4 | ||
5 | use xtask::{project_root, run, run_rustfmt, Overwrite, Result}; | 5 | use xtask::{codegen::Mode, project_root, run, run_rustfmt, Result}; |
6 | 6 | ||
7 | fn main() -> Result<()> { | 7 | fn main() -> Result<()> { |
8 | run_rustfmt(Overwrite)?; | 8 | run_rustfmt(Mode::Overwrite)?; |
9 | update_staged() | 9 | update_staged() |
10 | } | 10 | } |
11 | 11 | ||