From ca1c0f7aa3da817cf6e709f9d15fdbd85d1b85dc Mon Sep 17 00:00:00 2001 From: Krishna Sundarram Date: Sun, 8 Dec 2019 10:00:54 +0000 Subject: [PATCH 1/2] Change `rust install` to `rust toolchain install` `rustup install` and `rustup uninstall` are going to be deprecated in rustup 1.21.0 --- src/rust-2018/rustup-for-managing-rust-versions.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rust-2018/rustup-for-managing-rust-versions.md b/src/rust-2018/rustup-for-managing-rust-versions.md index 1a2f1112..f8166011 100644 --- a/src/rust-2018/rustup-for-managing-rust-versions.md +++ b/src/rust-2018/rustup-for-managing-rust-versions.md @@ -17,21 +17,21 @@ version of `rustc` and `cargo`. To install a specific Rust version, you can use `rustup install`: ```console -$ rustup install 1.30.0 +$ rustup toolchain install 1.30.0 ``` This works for a specific nightly, as well: ```console -$ rustup install nightly-2018-08-01 +$ rustup toolchain install nightly-2018-08-01 ``` As well as any of our release channels: ```console -$ rustup install stable -$ rustup install beta -$ rustup install nightly +$ rustup toochain install stable +$ rustup toolchain install beta +$ rustup toolchain install nightly ``` ## For updating your installation From 3be5da91b8bf74ab0b2e1452a949aad8b52b66bd Mon Sep 17 00:00:00 2001 From: Krishna Sundarram Date: Sun, 8 Dec 2019 11:05:05 +0000 Subject: [PATCH 2/2] Fix typo --- src/rust-2018/rustup-for-managing-rust-versions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust-2018/rustup-for-managing-rust-versions.md b/src/rust-2018/rustup-for-managing-rust-versions.md index f8166011..cf34a51f 100644 --- a/src/rust-2018/rustup-for-managing-rust-versions.md +++ b/src/rust-2018/rustup-for-managing-rust-versions.md @@ -29,7 +29,7 @@ $ rustup toolchain install nightly-2018-08-01 As well as any of our release channels: ```console -$ rustup toochain install stable +$ rustup toolchain install stable $ rustup toolchain install beta $ rustup toolchain install nightly ```