Commit 7ae6d27
committed
Add
In closures without an ascribed return type, an expression follows the
vertical bars. In closures with an ascribed return type, a block
follows. Let's add this second syntax to the syntax index.|..| -> Type { .. } syntax for closures to index1 parent 2a62276 commit 7ae6d27
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments