diff --git a/src/conversion.rs b/src/conversion.rs index 6820d450..d005cdf2 100644 --- a/src/conversion.rs +++ b/src/conversion.rs @@ -452,6 +452,7 @@ impl<'lua> FromLua<'lua> for bool { } } + #[inline] unsafe fn from_stack(idx: c_int, lua: &'lua Lua) -> Result { Ok(ffi::lua_toboolean(lua.state(), idx) != 0) }