diff options
Diffstat (limited to 'src/lua.rs')
-rw-r--r-- | src/lua.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -957,7 +957,7 @@ impl Lua { ephemeral: true, }; - let func = get_userdata::<RefCell<Callback>>(state, ffi::lua_upvalueindex(1))?; + let func = get_userdata::<RefCell<Callback>>(state, ffi::lua_upvalueindex(1)); let mut func = (*func) .try_borrow_mut() .map_err(|_| Error::RecursiveCallbackError)?; |