Skip to content

Commit

Permalink
Auto merge of #4921 - wking:doc/guide-rust, r=alexcrichton
Browse files Browse the repository at this point in the history
doc/guide/dependencies: Add a 'rust' language marker

This had been added to the non-book docs in 2ad45a5 (#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`.

    ```

This is (along with the already-landed #4916), part of recovering from #4904.
  • Loading branch information
bors committed Jan 9, 2018
2 parents 4e618dd + 2722274 commit 1fc8797
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 1fc8797

Please sign in to comment.