Syntax highlight rust code in librustc/dep_graph/README.md

This commit is contained in:
bjorn3 2017-06-01 18:44:20 +02:00 committed by GitHub
parent 4ed2edaafe
commit 24671badce

View File

@ -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;
}