Skip to content

Commit 5cda62c

Browse files
authored
Merge pull request #1763 from sinansonmez/patch-1
Update closures.md to correct a typo
2 parents 6af3f81 + e06aec8 commit 5cda62c

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 delimitation (`{}`) for a single expression (mandatory otherwise).
17+
* optional body delimitation (`{}`) 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)