Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions crates/fuzz/src/oracle/exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,25 @@
}

/// Returns an iterator yielding the names of the exported Wasm functions.
pub fn funcs(&self) -> ExportedFuncsIter {
pub fn funcs(&self) -> ExportedFuncsIter<'_> {

Check warning on line 42 in crates/fuzz/src/oracle/exports.rs

View check run for this annotation

Codecov / codecov/patch

crates/fuzz/src/oracle/exports.rs#L42

Added line #L42 was not covered by tests
ExportedFuncsIter {
names: self.funcs.iter(),
types: self.func_types.iter(),
}
}

/// Returns an iterator yielding the names of the exported Wasm globals.
pub fn globals(&self) -> StringSequenceIter {
pub fn globals(&self) -> StringSequenceIter<'_> {

Check warning on line 50 in crates/fuzz/src/oracle/exports.rs

View check run for this annotation

Codecov / codecov/patch

crates/fuzz/src/oracle/exports.rs#L50

Added line #L50 was not covered by tests
self.globals.iter()
}

/// Returns an iterator yielding the names of the exported Wasm memories.
pub fn memories(&self) -> StringSequenceIter {
pub fn memories(&self) -> StringSequenceIter<'_> {

Check warning on line 55 in crates/fuzz/src/oracle/exports.rs

View check run for this annotation

Codecov / codecov/patch

crates/fuzz/src/oracle/exports.rs#L55

Added line #L55 was not covered by tests
self.memories.iter()
}

/// Returns an iterator yielding the names of the exported Wasm tables.
pub fn tables(&self) -> StringSequenceIter {
pub fn tables(&self) -> StringSequenceIter<'_> {

Check warning on line 60 in crates/fuzz/src/oracle/exports.rs

View check run for this annotation

Codecov / codecov/patch

crates/fuzz/src/oracle/exports.rs#L60

Added line #L60 was not covered by tests
self.tables.iter()
}
}
Expand Down Expand Up @@ -103,7 +103,7 @@
/// 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<'_> {

Check warning on line 106 in crates/fuzz/src/oracle/exports.rs

View check run for this annotation

Codecov / codecov/patch

crates/fuzz/src/oracle/exports.rs#L106

Added line #L106 was not covered by tests
StringSequenceIter {
iter: self.strings.iter(),
}
Expand Down