aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tools/src/lib.rs')
-rw-r--r--crates/tools/src/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs
index c2123db99..674b9d11f 100644
--- a/crates/tools/src/lib.rs
+++ b/crates/tools/src/lib.rs
@@ -112,10 +112,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> {
112fn install_rustfmt() -> Result<()> { 112fn install_rustfmt() -> Result<()> {
113 run(&format!("rustup install {}", TOOLCHAIN), ".")?; 113 run(&format!("rustup install {}", TOOLCHAIN), ".")?;
114 run( 114 run(
115 &format!( 115 &format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN),
116 "rustup component add rustfmt-preview --toolchain {}",
117 TOOLCHAIN
118 ),
119 ".", 116 ".",
120 ) 117 )
121} 118}