Skip to content

Commit 091efb8

Browse files
Rollup merge of #42355 - bjorn3:patch-1, r=Mark-Simulacrum
Syntax highlight rust code in librustc/dep_graph/README.md
2 parents 0292e7e + 24671ba commit 091efb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/dep_graph/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ and `...` are whatever edges the `/* compute value */` closure creates.
254254
In particular, using the memoize helper is much better than writing
255255
the obvious code yourself:
256256

257-
```
257+
```rust
258258
if let Some(result) = map.get(key) {
259259
return result;
260260
}

0 commit comments

Comments
 (0)