summaryrefslogtreecommitdiff
path: root/src/lua.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua.rs')
-rw-r--r--src/lua.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.rs b/src/lua.rs
index fcd6d7a..c32775e 100644
--- a/src/lua.rs
+++ b/src/lua.rs
@@ -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)?;