From 50097b19ebc7bde985cad3534e75fd76dedb5ce7 Mon Sep 17 00:00:00 2001 From: Robin Freyler Date: Thu, 3 Jul 2025 15:04:01 +0200 Subject: [PATCH] fix clippy suggestions due to lifetime annotations --- crates/fuzz/src/oracle/exports.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/fuzz/src/oracle/exports.rs b/crates/fuzz/src/oracle/exports.rs index 0a3cbd2222..3fb116e02e 100644 --- a/crates/fuzz/src/oracle/exports.rs +++ b/crates/fuzz/src/oracle/exports.rs @@ -39,7 +39,7 @@ impl ModuleExports { } /// Returns an iterator yielding the names of the exported Wasm functions. - pub fn funcs(&self) -> ExportedFuncsIter { + pub fn funcs(&self) -> ExportedFuncsIter<'_> { ExportedFuncsIter { names: self.funcs.iter(), types: self.func_types.iter(), @@ -47,17 +47,17 @@ impl ModuleExports { } /// Returns an iterator yielding the names of the exported Wasm globals. - pub fn globals(&self) -> StringSequenceIter { + pub fn globals(&self) -> StringSequenceIter<'_> { self.globals.iter() } /// Returns an iterator yielding the names of the exported Wasm memories. - pub fn memories(&self) -> StringSequenceIter { + pub fn memories(&self) -> StringSequenceIter<'_> { self.memories.iter() } /// Returns an iterator yielding the names of the exported Wasm tables. - pub fn tables(&self) -> StringSequenceIter { + pub fn tables(&self) -> StringSequenceIter<'_> { self.tables.iter() } } @@ -103,7 +103,7 @@ impl StringSequence { /// Returns an iterator over the strings in `self`. /// /// The iterator yields the strings in order of their insertion. - pub fn iter(&self) -> StringSequenceIter { + pub fn iter(&self) -> StringSequenceIter<'_> { StringSequenceIter { iter: self.strings.iter(), }