Commit 8f4b7ad
committed
Reuse
This change seems desirable, because:
* It allows dropping the `K: Copy` constraint. (This may be needed
to unblock future, work-in-progress commits that may require
dropping this impl/derive from `NamedImplKey`.)
* It reduced the amount of code that has to be maintained within
the `cxx` crates.
I note that MSRV of `indexmap` is 1.63.0 [1] which is lower than MSRV
of 1.73.0 advertised by the `cxx` crate [2].
[1] https://github.com/indexmap-rs/indexmap/blob/main/RELEASES.md#201-2023-09-27
[2] https://github.com/dtolnay/cxx/blob/b5b259f2517a003e4c05bb91cd2b346c6ee1c517/README.md?plain=1#L27-L28indexmap crate instead of manually implementing OrderedMap.1 parent bf9bf73 commit 8f4b7ad
File tree
16 files changed
+445
-56
lines changed- gen
- build
- cmd
- lib
- macro
- syntax
- third-party
- bazel
16 files changed
+445
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | | - | |
15 | 11 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 12 | + | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 16 | + | |
31 | 17 | | |
32 | 18 | | |
33 | 19 | | |
34 | 20 | | |
35 | | - | |
| 21 | + | |
36 | 22 | | |
37 | 23 | | |
38 | 24 | | |
39 | 25 | | |
40 | 26 | | |
41 | | - | |
| 27 | + | |
42 | 28 | | |
43 | 29 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 30 | + | |
55 | 31 | | |
56 | 32 | | |
57 | 33 | | |
58 | 34 | | |
59 | | - | |
60 | | - | |
| 35 | + | |
61 | 36 | | |
62 | | - | |
| 37 | + | |
63 | 38 | | |
64 | 39 | | |
65 | 40 | | |
66 | 41 | | |
67 | 42 | | |
68 | | - | |
| 43 | + | |
69 | 44 | | |
70 | | - | |
| 45 | + | |
71 | 46 | | |
72 | 47 | | |
73 | 48 | | |
| |||
138 | 113 | | |
139 | 114 | | |
140 | 115 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 116 | | |
157 | 117 | | |
158 | 118 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments