1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-17 14:47:35 +02:00

remove $ from code-blocks in other markdown files as well (#952)

* remove $ from code blocks in translations

* remove $ from code blocks in the other markdown files as well

* Revert "remove $ from code blocks in the other markdown files as well"

This reverts commit eda922dab9.

* remove $ from code blocks in setup.md

* re-added the previous changes

* revert logging.md
This commit is contained in:
Sharun
2023-07-11 00:25:41 -04:00
committed by GitHub
parent 427aab110f
commit f5764ad4bc
5 changed files with 18 additions and 18 deletions

View File

@ -77,13 +77,13 @@ described below.
Run the server with:
```shell
$ cargo run --bin server
cargo run --bin server
```
and the client with:
```shell
$ cargo run --bin client
cargo run --bin client
```
## Tasks

View File

@ -9,9 +9,9 @@ For this, you will need an HTTP client such as [`reqwest`][1]. Create a new
Cargo project and `reqwest` it as a dependency with:
```shell
$ cargo new link-checker
$ cd link-checker
$ cargo add --features blocking,rustls-tls reqwest
cargo new link-checker
cd link-checker
cargo add --features blocking,rustls-tls reqwest
```
> If `cargo add` fails with `error: no such subcommand`, then please edit the
@ -20,14 +20,14 @@ $ cargo add --features blocking,rustls-tls reqwest
You will also need a way to find links. We can use [`scraper`][2] for that:
```shell
$ cargo add scraper
cargo add scraper
```
Finally, we'll need some way of handling errors. We use [`thiserror`][3] for
that:
```shell
$ cargo add thiserror
cargo add thiserror
```
The `cargo add` calls will update the `Cargo.toml` file to look like this:
@ -72,7 +72,7 @@ fn main() {
Run the code in `src/main.rs` with
```shell
$ cargo run
cargo run
```
## Tasks