summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/types.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/types.rs b/rust/src/types.rs
index 08fcf089..2e572330 100644
--- a/rust/src/types.rs
+++ b/rust/src/types.rs
@@ -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), &())
}
}