From 71a1c7e162046a44e7640e468b69a2b59599b198 Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Thu, 9 May 2024 14:09:53 -0300 Subject: [PATCH] Add Array GAT to StructureMember --- rust/src/types.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/types.rs b/rust/src/types.rs index 08fcf0896..2e5723305 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), &()) } }