Commit 9265b64
committed
Refine reactive_file_collection representation
Simplify the reactive_file_collection implementation by making 'v t
be the concrete record type used at runtime, removing the unused
phantom fields and internal wrapper type. This eliminates warning 69
about unused record fields and relies directly on a single record with
its process function stored as an Obj.t-based callback.1 parent 7f482bf commit 9265b64
File tree
2 files changed
+25
-43
lines changed- analysis/vendor/skip-lite/reactive_file_collection
2 files changed
+25
-43
lines changedLines changed: 19 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 8 | + | |
| 9 | + | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
33 | 24 | | |
34 | 25 | | |
35 | | - | |
36 | 26 | | |
37 | | - | |
| 27 | + | |
38 | 28 | | |
39 | | - | |
| 29 | + | |
40 | 30 | | |
41 | 31 | | |
42 | 32 | | |
43 | | - | |
44 | | - | |
| 33 | + | |
45 | 34 | | |
46 | 35 | | |
47 | 36 | | |
| |||
53 | 42 | | |
54 | 43 | | |
55 | 44 | | |
56 | | - | |
57 | 45 | | |
58 | | - | |
59 | | - | |
| 46 | + | |
60 | 47 | | |
61 | 48 | | |
62 | | - | |
63 | | - | |
| 49 | + | |
64 | 50 | | |
65 | 51 | | |
66 | | - | |
67 | | - | |
| 52 | + | |
68 | 53 | | |
69 | 54 | | |
70 | | - | |
71 | | - | |
| 55 | + | |
72 | 56 | | |
73 | 57 | | |
74 | 58 | | |
75 | 59 | | |
76 | 60 | | |
77 | | - | |
78 | | - | |
| 61 | + | |
79 | 62 | | |
80 | 63 | | |
81 | | - | |
82 | | - | |
| 64 | + | |
83 | 65 | | |
84 | 66 | | |
85 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
455 | 461 | | |
456 | 462 | | |
457 | 463 | | |
| |||
724 | 730 | | |
725 | 731 | | |
726 | 732 | | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| |||
0 commit comments