Skip to content

Commit

Permalink
doc/guide/dependencies: Add a 'rust' language marker
Browse files Browse the repository at this point in the history
This had been added to the non-book docs in 2ad45a5 ([doc] Sync back
doc/book changes into old docs, 2017-08-31, #4455), despite the fact
that the book didn't actually have that marker:

  $ git cat-file -p 2ad45a5:src/doc/book/src/guide/dependencies.md | grep -A2 'You can now use the'
  You can now use the `regex` library using `extern crate` in `main.rs`.

  ```
  • Loading branch information
wking committed Jan 8, 2018
1 parent f60ece9 commit 2722274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/guide/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ we choose to `cargo update`.

You can now use the `regex` library using `extern crate` in `main.rs`.

```
```rust
extern crate regex;

use regex::Regex;
Expand Down

0 comments on commit 2722274

Please sign in to comment.