We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 596e6db + 74c7c7a commit d27b033Copy full SHA for d27b033
xtask/src/lib.rs
@@ -79,7 +79,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> {
79
}
80
81
pub fn install_rustfmt() -> Result<()> {
82
- run(&format!("rustup install {}", TOOLCHAIN), ".")?;
+ run(&format!("rustup toolchain install {}", TOOLCHAIN), ".")?;
83
run(&format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), ".")
84
85
@@ -125,7 +125,7 @@ pub fn run_clippy() -> Result<()> {
125
126
127
pub fn install_clippy() -> Result<()> {
128
129
run(&format!("rustup component add clippy --toolchain {}", TOOLCHAIN), ".")
130
131
0 commit comments