1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-05 10:05:39 +02:00

Add reference to rustfmt for Debian instructions. (#331)

This commit is contained in:
gendx 2023-02-03 15:18:03 +00:00 committed by GitHub
parent f33b1f923a
commit 22d2bd36e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,10 @@ Along with cargo and rustc, Rustup will install itself as a command line utility
#### Debian
On Debian/Ubuntu, you can install Cargo and the Rust source with
On Debian/Ubuntu, you can install Cargo, the Rust source and the [Rust formatter][6] with
```shell
$ sudo apt install cargo rust-src
$ sudo apt install cargo rust-src rustfmt
```
This will allow [rust-analyzer][1] to jump to the definitions. We suggest using
@ -33,3 +33,4 @@ Some folks also like to use the [JetBrains][4] family of IDEs, which do their ow
[3]: https://rustup.rs/
[4]: https://www.jetbrains.com/clion/
[5]: https://www.jetbrains.com/rust/
[6]: https://github.com/rust-lang/rustfmt