Skip to content

Commit 79f7294

Browse files
authored
Update closures.md to correct a typo
1 parent 6709bee commit 79f7294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ variable names *must* be specified.
1414

1515
Other characteristics of closures include:
1616
* using `||` instead of `()` around input variables.
17-
* optional body delimination (`{}`) for a single expression (mandatory otherwise).
17+
* optional body delimination (`{}`) for a single line expression (mandatory otherwise).
1818
* the ability to capture the outer environment variables.
1919

2020
```rust,editable

0 commit comments

Comments
 (0)