From 272227403d80f6dc1fba840566b1a7991b9e1a54 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 8 Jan 2018 13:56:54 -0800 Subject: [PATCH] doc/guide/dependencies: Add a 'rust' language marker This had been added to the non-book docs in 2ad45a56 ([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 2ad45a56: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`. ``` --- src/doc/src/guide/dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/guide/dependencies.md b/src/doc/src/guide/dependencies.md index e199487f21e..fc16eb614c4 100644 --- a/src/doc/src/guide/dependencies.md +++ b/src/doc/src/guide/dependencies.md @@ -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;