Skip to content

Commit

Permalink
Fix clippy warning (#1159)
Browse files Browse the repository at this point in the history
fix clippy warning
  • Loading branch information
Robbepop authored Sep 3, 2024
1 parent af476f9 commit 8c9f031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/instance/exports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl<'instance> ExportsIter<'instance> {

/// Prepares an item to match the expected iterator `Item` signature.
#[allow(clippy::borrowed_box)]
fn convert_item((name, export): (&'instance Box<str>, &'instance Extern)) -> Export {
fn convert_item((name, export): (&'instance Box<str>, &'instance Extern)) -> Export<'instance> {
Export::new(name, *export)
}
}
Expand Down

0 comments on commit 8c9f031

Please sign in to comment.