File tree 2 files changed +2
-14
lines changed
2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -285,14 +285,6 @@ unsafe impl CoreArrayProviderInner for DebugInfoParser {
285
285
}
286
286
}
287
287
288
- unsafe impl CoreArrayWrapper for DebugInfoParser {
289
- type Wrapped < ' a > = Guard < ' a , DebugInfoParser > ;
290
-
291
- unsafe fn wrap_raw < ' a > ( raw : & ' a Self :: Raw , _context : & ' a Self :: Context ) -> Self :: Wrapped < ' a > {
292
- Guard :: new ( DebugInfoParser { handle : * raw } , & ( ) )
293
- }
294
- }
295
-
296
288
///////////////////////
297
289
// DebugFunctionInfo
298
290
Original file line number Diff line number Diff line change @@ -2094,17 +2094,13 @@ impl StructureMember {
2094
2094
impl CoreArrayProvider for StructureMember {
2095
2095
type Raw = BNStructureMember ;
2096
2096
type Context = ( ) ;
2097
+ type Wrapped < ' a > = Guard < ' a , StructureMember > ;
2097
2098
}
2098
2099
2099
- unsafe impl CoreOwnedArrayProvider for StructureMember {
2100
+ unsafe impl CoreArrayProviderInner for StructureMember {
2100
2101
unsafe fn free ( raw : * mut Self :: Raw , count : usize , _context : & Self :: Context ) {
2101
2102
BNFreeStructureMemberList ( raw, count)
2102
2103
}
2103
- }
2104
-
2105
- unsafe impl CoreArrayWrapper for StructureMember {
2106
- type Wrapped < ' a > = Guard < ' a , StructureMember > ;
2107
-
2108
2104
unsafe fn wrap_raw < ' a > ( raw : & ' a Self :: Raw , _context : & ' a Self :: Context ) -> Self :: Wrapped < ' a > {
2109
2105
Guard :: new ( StructureMember :: from_raw ( * raw) , & ( ) )
2110
2106
}
You can’t perform that action at this time.
0 commit comments