diff --git a/src/lua.rs b/src/lua.rs index 7b6cf19..3464e60 100644 --- a/src/lua.rs +++ b/src/lua.rs @@ -695,6 +695,8 @@ impl Lua { } } + /// Evaluate the given expression or statement inside this Lua state, and if it is an + /// expression or a statement with return, this returns the value. pub fn eval<'lua, R: FromLuaMulti<'lua>>(&'lua self, source: &str) -> LuaResult { unsafe { stack_guard(self.state, 0, || {