From fb7d0ed07feff698939dcb910fbb5abca84757a0 Mon Sep 17 00:00:00 2001 From: bigduu Date: Sat, 1 Oct 2022 14:47:20 +0800 Subject: [PATCH] Update rustup-for-managing-rust-versions.md Fix the wrong command --- 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 7392296..5d43e0c 100644 --- a/src/rust-2018/rustup-for-managing-rust-versions.md +++ b/src/rust-2018/rustup-for-managing-rust-versions.md @@ -42,7 +42,7 @@ $ rustup update 设置非 `stable` 的为默认版本: ```console -$ rustup toolchain default nightly +$ rustup default nightly ``` 使用一个 toolchain 而不是默认的,`rustup run`: