about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2017-06-01 18:44:20 +0200
committerGitHub <noreply@github.com>2017-06-01 18:44:20 +0200
commit24671badce22c5aa72cd4c766296eb2b44b3a265 (patch)
tree460d01c5deff0f0358535407ecb11c09f7c9d0d3 /src
parent4ed2edaafe82fb8d44e81e00ca3e4f7659855ba2 (diff)
downloadrust-24671badce22c5aa72cd4c766296eb2b44b3a265.tar.gz
rust-24671badce22c5aa72cd4c766296eb2b44b3a265.zip
Syntax highlight rust code in librustc/dep_graph/README.md
Diffstat (limited to 'src')
-rw-r--r--src/librustc/dep_graph/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/dep_graph/README.md b/src/librustc/dep_graph/README.md
index daed41f0470..72715cf6bc7 100644
--- a/src/librustc/dep_graph/README.md
+++ b/src/librustc/dep_graph/README.md
@@ -254,7 +254,7 @@ and `...` are whatever edges the `/* compute value */` closure creates.
 In particular, using the memoize helper is much better than writing
 the obvious code yourself:
 
-```
+```rust
 if let Some(result) = map.get(key) {
     return result;
 }