From a4d2df2255a026be4bb8a46209de2e6d75410a70 Mon Sep 17 00:00:00 2001 From: Henry Gressmann Date: Sun, 3 Dec 2023 23:51:59 +0100 Subject: chore: refactoring Signed-off-by: Henry Gressmann --- crates/parser/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/parser') diff --git a/crates/parser/src/lib.rs b/crates/parser/src/lib.rs index 6c49af0..0d12990 100644 --- a/crates/parser/src/lib.rs +++ b/crates/parser/src/lib.rs @@ -98,7 +98,7 @@ impl TryFrom for TinyWasmModule { .into_iter() .zip(func_types) .map(|(f, ty)| Function { - body: f.body, + instructions: f.body, locals: f.locals, ty, }) -- cgit v1.3.1