Skip to content

Commit 1fc8797

Browse files
committed
Auto merge of #4921 - wking:doc/guide-rust, r=alexcrichton
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.
2 parents 4e618dd + 2722274 commit 1fc8797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/guide/dependencies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ we choose to `cargo update`.
7070

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

73-
```
73+
```rust
7474
extern crate regex;
7575

7676
use regex::Regex;

0 commit comments

Comments
 (0)