Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vm/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ impl LuaState {
/// Returns the value at the given 1-based argument index, or `Val::Nil`
/// if the slot is unset.
#[inline]
fn arg_at(&self, n: usize) -> Val {
pub fn arg_at(&self, n: usize) -> Val {
debug_assert!(n >= 1, "argument indices are 1-based");
let idx = self.base + n - 1;
if idx < self.top {
Expand Down