From c4ec0a739562720a5117097ad6b8ebec64376558 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Thu, 31 Oct 2024 12:18:13 -0700 Subject: [PATCH] one more breaking change Signed-off-by: Jesse Szwedko --- src/value/value/lua.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/value/value/lua.rs b/src/value/value/lua.rs index 3f115dfa1..a3d0cb648 100644 --- a/src/value/value/lua.rs +++ b/src/value/value/lua.rs @@ -276,13 +276,13 @@ mod test { let lua = Lua::new(); for (value, test_src) in pairs { - let test_fn: LuaFunction<'_> = lua + let test_fn: LuaFunction = lua .load(test_src) .eval() .unwrap_or_else(|_| panic!("Failed to load {test_src} for value {value:?}")); assert!( test_fn - .call::<_, bool>(value.clone()) + .call::(value.clone()) .unwrap_or_else(|_| panic!("Failed to call {test_src} for value {value:?}")), "Test function: {test_src}, value: {value:?}" );