We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 94048cf + 46126d1 commit c2a98d9Copy full SHA for c2a98d9
src/fn/closures.md
@@ -1,7 +1,7 @@
1
# Closures
2
3
Closures are functions that can capture the enclosing environment. For
4
-example, a closure that captures the x variable:
+example, a closure that captures the `x` variable:
5
6
```Rust
7
|val| val + x
0 commit comments