Skip to content

Commit 1c8f346

Browse files
rbranElykDeer
authored andcommitted
fix GAT CoreArrayWrapper impl
1 parent c528f3a commit 1c8f346

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rust/src/debuginfo.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ unsafe impl CoreOwnedArrayProvider for DebugInfoParser {
281281
}
282282
}
283283

284-
unsafe impl<'a> CoreArrayWrapper<'a> for DebugInfoParser {
285-
type Wrapped = Guard<'a, DebugInfoParser>;
284+
unsafe impl CoreArrayWrapper for DebugInfoParser {
285+
type Wrapped<'a> = Guard<'a, DebugInfoParser>;
286286

287-
unsafe fn wrap_raw(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped {
287+
unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, _context: &'a Self::Context) -> Self::Wrapped<'a> {
288288
Guard::new(DebugInfoParser { handle: *raw }, &())
289289
}
290290
}

0 commit comments

Comments
 (0)