Skip to content

Commit c22409a

Browse files
authored
Merge pull request #2939 from yerke/patch-1
Fix custom toolchain name in the example
2 parents 8d11af5 + 92ee0c4 commit c22409a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/concepts/toolchains.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ For example, on Ubuntu you might clone `rust-lang/rust` into `~/rust`, build
5959
it, and then run:
6060

6161
```console
62-
$ rustup toolchain link myrust ~/rust/build/x86_64-unknown-linux-gnu/stage2/
63-
$ rustup default myrust
62+
$ rustup toolchain link my-toolchain ~/rust/build/x86_64-unknown-linux-gnu/stage2/
63+
$ rustup default my-toolchain
6464
```
6565

6666
Now you can name `my-toolchain` as any other `rustup` toolchain. Create a

0 commit comments

Comments
 (0)