From 32bf806f9b15b5b92ce4b79a59d1cf9c166e5863 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 13 Feb 2020 14:26:50 +0100 Subject: [PATCH] chore(interface-types) Simplify code. --- src/interpreter/instructions/call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/instructions/call.rs b/src/interpreter/instructions/call.rs index 9f4ac02..5fe896b 100644 --- a/src/interpreter/instructions/call.rs +++ b/src/interpreter/instructions/call.rs @@ -88,7 +88,7 @@ mod tests { InterfaceValue::I32(3), InterfaceValue::I32(4), ], - instance: Instance { ..Default::default() }, + instance: Default::default(), error: r#"`call 42` cannot call the local or imported function `42` because it doesn't exist."#, );