Skip to content

Commit

Permalink
one more breaking change
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko committed Oct 31, 2024
1 parent 5e7776f commit c4ec0a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/value/value/lua.rs
Original file line number Diff line number Diff line change
@@ -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::<bool>(value.clone())
.unwrap_or_else(|_| panic!("Failed to call {test_src} for value {value:?}")),
"Test function: {test_src}, value: {value:?}"
);

0 comments on commit c4ec0a7

Please sign in to comment.