Skip to content

Commit 5d8512e

Browse files
majaharami3l
authored andcommitted
Fix doc error with rust-toolchain.toml custom TC
Fix an issue where the documentation erroneously states that `rust-toolchain.toml` config files can't specify custom toolchain names. This language seems to be very old, ultimately inherited from the original commit that added this feature, and is no longer true: 107d8e5#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R330
1 parent e148667 commit 5d8512e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

doc/user-guide/src/overrides.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,12 @@ The `channel` setting specifies which [toolchain] to use. The value is a
120120
string in the following form:
121121

122122
```
123-
<channel>[-<date>]
123+
(<channel>[-<date>])|<custom toolchain name>
124124
125125
<channel> = stable|beta|nightly|<major.minor.patch>
126126
<date> = YYYY-MM-DD
127127
```
128128

129-
Note that this is a more restricted form than `rustup` toolchains
130-
generally, and cannot be used to specify custom toolchains or
131-
host-specific toolchains.
132-
133129
[toolchain]: concepts/toolchains.md
134130

135131
#### path

0 commit comments

Comments
 (0)