diff --git a/crates/wasmtime/src/types/matching.rs b/crates/wasmtime/src/types/matching.rs index ba4bbcdb25..d422acc1a4 100644 --- a/crates/wasmtime/src/types/matching.rs +++ b/crates/wasmtime/src/types/matching.rs @@ -117,13 +117,13 @@ impl MatchCx<'_> { let render = |ty: &WasmFuncType| { let params = ty - .params + .params() .iter() .map(|s| s.to_string()) .collect::>() .join(", "); let returns = ty - .returns + .returns() .iter() .map(|s| s.to_string()) .collect::>()