From 24671badce22c5aa72cd4c766296eb2b44b3a265 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Thu, 1 Jun 2017 18:44:20 +0200 Subject: [PATCH] Syntax highlight rust code in librustc/dep_graph/README.md --- src/librustc/dep_graph/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }