Commit 2d79a1e
Remove redundant example on structs and capturing
What this example is showing is how one field of a struct can be
captured while another is not (when using rest patterns). However,
the example above demonstrates this with tuples, and there are no
interesting differences between tuple fields and struct fields in this
case.1 parent 1390c45 commit 2d79a1e
1 file changed
+0
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 264 | | |
284 | 265 | | |
285 | 266 | | |
| |||
0 commit comments