Skip to content

Commit 50097b1

Browse files
committed
fix clippy suggestions due to lifetime annotations
1 parent 8fea281 commit 50097b1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

crates/fuzz/src/oracle/exports.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,25 @@ impl ModuleExports {
3939
}
4040

4141
/// Returns an iterator yielding the names of the exported Wasm functions.
42-
pub fn funcs(&self) -> ExportedFuncsIter {
42+
pub fn funcs(&self) -> ExportedFuncsIter<'_> {
4343
ExportedFuncsIter {
4444
names: self.funcs.iter(),
4545
types: self.func_types.iter(),
4646
}
4747
}
4848

4949
/// Returns an iterator yielding the names of the exported Wasm globals.
50-
pub fn globals(&self) -> StringSequenceIter {
50+
pub fn globals(&self) -> StringSequenceIter<'_> {
5151
self.globals.iter()
5252
}
5353

5454
/// Returns an iterator yielding the names of the exported Wasm memories.
55-
pub fn memories(&self) -> StringSequenceIter {
55+
pub fn memories(&self) -> StringSequenceIter<'_> {
5656
self.memories.iter()
5757
}
5858

5959
/// Returns an iterator yielding the names of the exported Wasm tables.
60-
pub fn tables(&self) -> StringSequenceIter {
60+
pub fn tables(&self) -> StringSequenceIter<'_> {
6161
self.tables.iter()
6262
}
6363
}
@@ -103,7 +103,7 @@ impl StringSequence {
103103
/// Returns an iterator over the strings in `self`.
104104
///
105105
/// The iterator yields the strings in order of their insertion.
106-
pub fn iter(&self) -> StringSequenceIter {
106+
pub fn iter(&self) -> StringSequenceIter<'_> {
107107
StringSequenceIter {
108108
iter: self.strings.iter(),
109109
}

0 commit comments

Comments
 (0)