Skip to content

Commit

Permalink
Weaken resolve_mut_with ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Jul 17, 2023
1 parent c5bbe03 commit b9fa6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmi/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Globals {
.clone()
}

pub fn resolve_mut_with<F, R>(&mut self, global: &Global, f: F) -> R
pub fn resolve_mut_with<F, R>(&self, global: &Global, f: F) -> R
where
F: FnOnce(&mut GlobalEntity) -> R,
{
Expand Down

0 comments on commit b9fa6e0

Please sign in to comment.