Commit 67115fd
committed
Add admonition about pointer vs pointee capturing
There's some surprising nuance to what gets captured when reading the
length of a slice with a slice pattern. Let's add an admonition about
this.1 parent 1c9c88b commit 67115fd
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
381 | 386 | | |
382 | 387 | | |
383 | 388 | | |
| |||
0 commit comments