Commit caea701
authored
Auto merge of #234 - thomcc:len_at_most_32, r=mbrubeck
Implement Array for all sizes <= 32
Most traits supported by arrays are fully supported for arrays in the Rust stdlib as for all sizes <= 32. I was surprised to find that `SmallVec<[T; 18]>` (I happen to know that 18 the maximum outside of obscure cases) isn't possible because smallvec::Array is not consistent with this pattern.
Of course, I don't actually need this — I can just choose another size, but it seems like it would be good/unsurprising to be a superset of libstd's choices here.1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1928 | 1928 | | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | | - | |
| 1931 | + | |
| 1932 | + | |
1932 | 1933 | | |
1933 | 1934 | | |
1934 | 1935 | | |
| |||
0 commit comments