Skip to content

Commit c2ffbd7

Browse files
authored
Update cargo.md (#2780)
Now that there is a `rustup` package, we can take away the scary language and ask people to install that. This has the advantage that people get a trusted tool to download the latest Rust compiler.
1 parent d4729bf commit c2ffbd7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cargo.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ auto-completion and jump-to-definition functionality for [VS Code], [Emacs],
2222

2323
<details>
2424

25-
- On Debian/Ubuntu, you can also install Cargo, the Rust source and the
26-
[Rust formatter] via `apt`. However, this gets you an outdated Rust version
27-
and may lead to unexpected behavior. The command would be:
25+
- On Debian/Ubuntu, you can install `rustup` via `apt`:
2826

2927
```shell
30-
sudo apt install cargo rust-src rustfmt
28+
sudo apt install rustup
3129
```
3230

3331
- On macOS, you can use [Homebrew](https://brew.sh/) to install Rust, but this

0 commit comments

Comments
 (0)