Commit 0c578aa
committed
append: Add append test that deals with incorrect layout situations
The existing code can already be used to clone an array into an
appendable situation.
I.e. even if a.try_append_array(axis, b) would error, we can always do this:
let c = empty array
c.try_append_array(axis, &a);
c.try_append_array(axis, &b);1 parent 0599fd2 commit 0c578aa
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
24 | 50 | | |
25 | 51 | | |
26 | 52 | | |
| |||
0 commit comments