Skip to content

Commit

Permalink
fix GAT CoreArrayWrapper impl
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran authored and ElykDeer committed May 9, 2024
1 parent c528f3a commit 1c8f346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/src/debuginfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ unsafe impl CoreOwnedArrayProvider for DebugInfoParser {
}
}

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

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(DebugInfoParser { handle: *raw }, &())
}
}
Expand Down

0 comments on commit 1c8f346

Please sign in to comment.