diff options
Diffstat (limited to 'crates/tools/src')
-rw-r--r-- | crates/tools/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index 6f96b8120..e5b32c25c 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -117,7 +117,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> { | |||
117 | Ok(()) | 117 | Ok(()) |
118 | } | 118 | } |
119 | 119 | ||
120 | fn install_rustfmt() -> Result<()> { | 120 | pub fn install_rustfmt() -> Result<()> { |
121 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; | 121 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; |
122 | run( | 122 | run( |
123 | &format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), | 123 | &format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), |