You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-09-16 09:36:41 +02:00
docs: improve language in cargo section (#2892)
I asked Gemini to review the English for inconsistencies and grammar mistakes. This is the result and I hope it's useful! As a non-native speaker, it is hard for me to evaluate the finer details, so let me know if you would like to see changes (or even better: make them directly in the PR with the suggestion function).
This commit is contained in:
@@ -12,7 +12,7 @@ fits into this training.
|
||||
|
||||
This will give you the Cargo build tool (`cargo`) and the Rust compiler
|
||||
(`rustc`). You will also get `rustup`, a command line utility that you can use
|
||||
to install to different compiler versions.
|
||||
to install different compiler versions.
|
||||
|
||||
After installing Rust, you should configure your editor or IDE to work with
|
||||
Rust. Most editors do this by talking to [rust-analyzer], which provides
|
||||
|
@@ -5,7 +5,7 @@ which can be executed through your browser. This makes the setup much easier and
|
||||
ensures a consistent experience for everyone.
|
||||
|
||||
Installing Cargo is still encouraged: it will make it easier for you to do the
|
||||
exercises. On the last day, we will do a larger exercise which shows you how to
|
||||
exercises. On the last day, we will do a larger exercise that shows you how to
|
||||
work with dependencies and for that you need Cargo.
|
||||
|
||||
The code blocks in this course are fully interactive:
|
||||
|
@@ -38,7 +38,7 @@ examples in this training:
|
||||
Hello, world!
|
||||
```
|
||||
|
||||
4. Replace the boiler-plate code in `src/main.rs` with your own code. For
|
||||
4. Replace the boilerplate code in `src/main.rs` with your own code. For
|
||||
example, using the example on the previous page, make `src/main.rs` look like
|
||||
|
||||
```rust
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
The Rust ecosystem consists of a number of tools, of which the main ones are:
|
||||
|
||||
- `rustc`: the Rust compiler which turns `.rs` files into binaries and other
|
||||
- `rustc`: the Rust compiler that turns `.rs` files into binaries and other
|
||||
intermediate formats.
|
||||
|
||||
- `cargo`: the Rust dependency manager and build tool. Cargo knows how to
|
||||
|
Reference in New Issue
Block a user