ugh, that was quite a thing. i guess that borrowing thing is still confusing. why can't i get a read-only non-& value out of a vector? and why does .as_slice() work?
|
||
| 1 |
|
|
| 2 |
|
|
| 1 | 3 |
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 5 | 7 |
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 8 | 10 |
|
| 9 | 11 |
|
| 10 |
|
|
| 12 |
|
|
| 11 | 13 |
|
| 12 | 14 |
|
| 13 | 15 |
|