Skip to content

Commit

Permalink
Add Array GAT to StructureMember
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran authored and ElykDeer committed May 9, 2024
1 parent 48d440a commit 71a1c7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2104,10 +2104,10 @@ unsafe impl CoreOwnedArrayProvider for StructureMember {
}
}

unsafe impl<'a> CoreArrayWrapper<'a> for StructureMember {
type Wrapped = Guard<'a, StructureMember>;
unsafe impl CoreArrayWrapper for StructureMember {
type Wrapped<'a> = Guard<'a, StructureMember>;

unsafe fn wrap_raw(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped {
unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped<'a> {
Guard::new(StructureMember::from_raw(*raw), &())
}
}
Expand Down

0 comments on commit 71a1c7e

Please sign in to comment.