aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/src/bin
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-26 23:35:49 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-26 23:35:49 +0000
commit2577a65684a61fe8ef9159809ca5352c9ac2e61d (patch)
tree507d92f82bbcd214c625caf17eb4c120754c5d7c /crates/tools/src/bin
parent7f9a6521efc6939bb395238d249ee3a397fa4446 (diff)
parent7177fffd7b65c584b22abe42ec9845ec0a70565c (diff)
Merge #687
687: fix verificatio on ci r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/tools/src/bin')
-rw-r--r--crates/tools/src/bin/pre-commit.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/tools/src/bin/pre-commit.rs b/crates/tools/src/bin/pre-commit.rs
index bae3b26d3..e00bd0d3d 100644
--- a/crates/tools/src/bin/pre-commit.rs
+++ b/crates/tools/src/bin/pre-commit.rs
@@ -1,10 +1,9 @@
1use std::{ 1use std::process::Command;
2 process::{Command},
3};
4 2
5use tools::{Result, run_rustfmt, run, project_root};
6use failure::bail; 3use failure::bail;
7 4
5use tools::{Result, run_rustfmt, run, project_root};
6
8fn main() -> tools::Result<()> { 7fn main() -> tools::Result<()> {
9 run_rustfmt(tools::Overwrite)?; 8 run_rustfmt(tools::Overwrite)?;
10 update_staged() 9 update_staged()