diff --git a/src/interpreter/instructions/call.rs b/src/interpreter/instructions/call.rs index f6375c4..b788f53 100644 --- a/src/interpreter/instructions/call.rs +++ b/src/interpreter/instructions/call.rs @@ -17,7 +17,7 @@ executable_instruction!( Some(inputs) => { let input_types = inputs .iter() - .map(|input| input.into()) + .map(Into::into) .collect::>(); if input_types != local_or_import.inputs() { diff --git a/src/interpreter/instructions/call_export.rs b/src/interpreter/instructions/call_export.rs index 62e360a..9afe984 100644 --- a/src/interpreter/instructions/call_export.rs +++ b/src/interpreter/instructions/call_export.rs @@ -13,7 +13,7 @@ executable_instruction!( Some(inputs) => { let input_types = inputs .iter() - .map(|input| input.into()) + .map(Into::into) .collect::>(); if input_types != export.inputs() {