Commit 9a34db0
committed
aya: fix rustdoc warnings for StructOps link types
Replace define_link_wrapper! macro with manual link type definitions
for StructOps. The macro generates docs referencing StructOps::attach,
but struct_ops links come from StructOpsMap::attach() instead.
This also removes the StructOps::detach() and StructOps::take_link()
methods which were incorrect - struct_ops links are managed through
the map, not the program type.1 parent 2d3f51c commit 9a34db0
2 files changed
+62
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6824 | 6824 | | |
6825 | 6825 | | |
6826 | 6826 | | |
6827 | | - | |
6828 | | - | |
6829 | | - | |
6830 | 6827 | | |
6831 | 6828 | | |
6832 | 6829 | | |
| |||
10514 | 10511 | | |
10515 | 10512 | | |
10516 | 10513 | | |
10517 | | - | |
10518 | | - | |
10519 | | - | |
10520 | 10514 | | |
10521 | 10515 | | |
10522 | 10516 | | |
| |||
0 commit comments