Commit 9cdf8fb
bors-servo
Auto merge of #204 - c410-f3r:const__generics, r=mbrubeck
Add support for constant generics
No breaking changes and no internal hacks. This PR only adds a feature to switch between implementations of the `Array` trait.
I personally think that this approach is pretty reasonable and should be at least considered for discussion.2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
1667 | 1669 | | |
1668 | 1670 | | |
1669 | 1671 | | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
1670 | 1679 | | |
1671 | 1680 | | |
1672 | 1681 | | |
| |||
1678 | 1687 | | |
1679 | 1688 | | |
1680 | 1689 | | |
| 1690 | + | |
1681 | 1691 | | |
1682 | 1692 | | |
1683 | 1693 | | |
| |||
2533 | 2543 | | |
2534 | 2544 | | |
2535 | 2545 | | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
2536 | 2552 | | |
0 commit comments