From f670531e1eeaeb11897bcfd652bdb30ea1b833f9 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Wed, 25 Oct 2023 16:52:24 +0800 Subject: [PATCH] Fix build. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index e74a767..6c73726 100644 --- a/build.rs +++ b/build.rs @@ -69,7 +69,7 @@ fn main() { let json_fns = engine.gen_fn_metadata_to_json(false).unwrap(); println!("{json_fns}"); let v: Metadata = serde_json::from_str(&json_fns).unwrap(); - for function in v.functions { + for function in &v.functions { println!("{:?}", function); }