From 80cf746b50513af77203f382f5f53bd036087358 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 12 Apr 2026 21:16:49 +0200 Subject: feat: remove lifetimes from runtime objects Signed-off-by: Henry --- examples/linking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/linking.rs') diff --git a/examples/linking.rs b/examples/linking.rs index ce9748b..4da7fec 100644 --- a/examples/linking.rs +++ b/examples/linking.rs @@ -43,7 +43,7 @@ fn main() -> Result<()> { let import_instance = import_module.instantiate(&mut store, Some(imports))?; // Call the `main` function, which uses the imported `add` function. - let main = import_instance.func_typed::<(), i32>(&store, "main")?; + let main = import_instance.func::<(), i32>(&store, "main")?; assert_eq!(main.call(&mut store, ())?, 3); Ok(()) -- cgit v1.3.1