Commit f959254
committed
Avoid enums containing references with lifetimes
Having struct fields with references to other structs is tough in
our bindings logic, but even worse if the fields are in an enum.
Its simplest to just take the clone penalty here.1 parent e14e58d commit f959254
File tree
5 files changed
+11
-10
lines changed- lightning/src/ln
5 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11633 | 11633 | | |
11634 | 11634 | | |
11635 | 11635 | | |
11636 | | - | |
| 11636 | + | |
11637 | 11637 | | |
11638 | 11638 | | |
11639 | 11639 | | |
| |||
11682 | 11682 | | |
11683 | 11683 | | |
11684 | 11684 | | |
11685 | | - | |
| 11685 | + | |
11686 | 11686 | | |
11687 | 11687 | | |
11688 | 11688 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5182 | 5182 | | |
5183 | 5183 | | |
5184 | 5184 | | |
5185 | | - | |
| 5185 | + | |
5186 | 5186 | | |
5187 | 5187 | | |
5188 | 5188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1357 | 1357 | | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | | - | |
| 1360 | + | |
| 1361 | + | |
1361 | 1362 | | |
1362 | | - | |
| 1363 | + | |
1363 | 1364 | | |
1364 | | - | |
| 1365 | + | |
1365 | 1366 | | |
1366 | | - | |
| 1367 | + | |
1367 | 1368 | | |
1368 | 1369 | | |
1369 | | - | |
| 1370 | + | |
1370 | 1371 | | |
1371 | 1372 | | |
1372 | 1373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3650 | 3650 | | |
3651 | 3651 | | |
3652 | 3652 | | |
3653 | | - | |
| 3653 | + | |
3654 | 3654 | | |
3655 | 3655 | | |
3656 | 3656 | | |
| |||
0 commit comments