Skip to content

Commit c2a98d9

Browse files
authored
Merge pull request #1530 from koic/code_highlight_a_variable
Code highlight a variable
2 parents 94048cf + 46126d1 commit c2a98d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/closures.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Closures
22

33
Closures are functions that can capture the enclosing environment. For
4-
example, a closure that captures the x variable:
4+
example, a closure that captures the `x` variable:
55

66
```Rust
77
|val| val + x

0 commit comments

Comments
 (0)