From fd5a89e174e01b0adb089dcf8f6da36cf5008443 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 29 Sep 2025 14:53:05 -0400 Subject: Fix rust warnings about lifetimes introduced by 1.89.0 --- rust/src/rc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/src/rc.rs') diff --git a/rust/src/rc.rs b/rust/src/rc.rs index f6abb036..71d72ceb 100644 --- a/rust/src/rc.rs +++ b/rust/src/rc.rs @@ -258,7 +258,7 @@ impl Array

{ } } - pub fn iter(&self) -> ArrayIter

{ + pub fn iter(&self) -> ArrayIter<'_, P> { ArrayIter { it: unsafe { slice::from_raw_parts(self.contents, self.count).iter() }, context: &self.context, @@ -347,7 +347,7 @@ impl ArrayGuard

{ } } - pub fn iter(&self) -> ArrayIter

{ + pub fn iter(&self) -> ArrayIter<'_, P> { ArrayIter { it: unsafe { slice::from_raw_parts(self.contents, self.count).iter() }, context: &self.context, -- cgit v1.3.1