Update comments

This commit is contained in:
Alex Orlenko
2021-11-14 23:27:20 +00:00
parent 50f20e0c2c
commit 19bd254e1e
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ impl<'lua> Function<'lua> {
return Err(pop_error(lua.state, ret));
}
let nresults = ffi::lua_gettop(lua.state) - stack_start;
let mut results = args; // Recycle MultiValue container
let mut results = args; // Reuse MultiValue container
assert_stack(lua.state, 2);
for _ in 0..nresults {
results.push_front(lua.pop_value());