summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rust/src/debuginfo.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs
index a09e0c67..2b3a2cd0 100644
--- a/rust/src/debuginfo.rs
+++ b/rust/src/debuginfo.rs
@@ -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 }, &())
}
}