about summary refs log tree commit diff
path: root/xtask/src/pre_commit.rs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-01-07 15:33:51 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-01-07 15:36:43 +0100
commit5e7995eeb7b7ab4cf0d80ddfa2d20e506216f895 (patch)
tree725563d5683490184d05f268c845adf2cf83a679 /xtask/src/pre_commit.rs
parent64f0510d18bc62c6bbe6f3c7d4b0d43665ccc1eb (diff)
downloadrust-5e7995eeb7b7ab4cf0d80ddfa2d20e506216f895.tar.gz
rust-5e7995eeb7b7ab4cf0d80ddfa2d20e506216f895.zip
Cleanup
Diffstat (limited to 'xtask/src/pre_commit.rs')
-rw-r--r--xtask/src/pre_commit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/pre_commit.rs b/xtask/src/pre_commit.rs
index 7984ba9632b..88e868ca685 100644
--- a/xtask/src/pre_commit.rs
+++ b/xtask/src/pre_commit.rs
@@ -4,7 +4,7 @@ use std::{fs, path::PathBuf};
 
 use anyhow::{bail, Result};
 
-use crate::{project_root, run, run_rustfmt, run_with_output, Mode};
+use crate::{cmd::run_with_output, project_root, run, run_rustfmt, Mode};
 
 // FIXME: if there are changed `.ts` files, also reformat TypeScript (by
 // shelling out to `npm fmt`).