diff --git a/src/librustc/dep_graph/README.md b/src/librustc/dep_graph/README.md index daed41f04700d..72715cf6bc74d 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; }