Skip to content

Commit 5f2112e

Browse files
authored
Merge pull request #2567 from ehuss/fix-proxies
Fix proxies docs.
2 parents 4b9c9bb + 28cdb0d commit 5f2112e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

doc/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Toolchains](concepts/toolchains.md)
1111
- [Components](concepts/components.md)
1212
- [Profiles](concepts/profiles.md)
13+
- [Proxies](concepts/proxies.md)
1314
- [Basic usage](basics.md)
1415
- [Overrides](overrides.md)
1516
- [Cross-compilation](cross-compilation.md)

doc/src/concepts/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
`rustup` is a *toolchain multiplexer*. It installs and manages many Rust
66
toolchains and presents them all through a single set of tools installed to
77
`~/.cargo/bin`. The [`rustc`] and [`cargo`] executables installed in
8-
`~/.cargo/bin` are *proxies* that delegate to the real toolchain. `rustup`
8+
`~/.cargo/bin` are *[proxies]* that delegate to the real toolchain. `rustup`
99
then provides mechanisms to easily change the active toolchain by
1010
reconfiguring the behavior of the proxies.
1111

@@ -21,6 +21,7 @@ This is similar to Ruby's [rbenv], Python's [pyenv], or Node's [nvm].
2121
[nvm]: https://github.com/creationix/nvm
2222
[`rustc`]: https://doc.rust-lang.org/rustc/
2323
[`cargo`]: https://doc.rust-lang.org/cargo/
24+
[proxies]: proxies.md
2425

2526
## Terminology
2627

doc/src/concepts/proxies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
`rustup` provides a number of wrappers for common Rust tools.
44
These are called _proxies_ and represent commands which are
5-
provided by the various [components][].
5+
provided by the various [components].
66

77
The list of proxies is currently static in `rustup` and is as follows:
88

9-
[components]: concepts/components.html
9+
[components]: components.md
1010

1111
- `rustc` is the compiler for the Rust programming language, provided by the project itself and comes from the `rustc` component.
1212

0 commit comments

Comments
 (0)