diff options
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 7332a4072..190baeddf 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -79,7 +79,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> { | |||
79 | } | 79 | } |
80 | 80 | ||
81 | pub fn install_rustfmt() -> Result<()> { | 81 | pub fn install_rustfmt() -> Result<()> { |
82 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; | 82 | run(&format!("rustup toolchain install {}", TOOLCHAIN), ".")?; |
83 | run(&format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), ".") | 83 | run(&format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), ".") |
84 | } | 84 | } |
85 | 85 | ||
@@ -125,7 +125,7 @@ pub fn run_clippy() -> Result<()> { | |||
125 | } | 125 | } |
126 | 126 | ||
127 | pub fn install_clippy() -> Result<()> { | 127 | pub fn install_clippy() -> Result<()> { |
128 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; | 128 | run(&format!("rustup toolchain install {}", TOOLCHAIN), ".")?; |
129 | run(&format!("rustup component add clippy --toolchain {}", TOOLCHAIN), ".") | 129 | run(&format!("rustup component add clippy --toolchain {}", TOOLCHAIN), ".") |
130 | } | 130 | } |
131 | 131 | ||