From 9f9ab4a4b26a081809ca6ffe798f26f612031522 Mon Sep 17 00:00:00 2001 From: shandongzhejiang Date: Wed, 25 Jun 2025 21:06:15 +0800 Subject: [PATCH] chore: fix function name in comment Signed-off-by: shandongzhejiang --- internal/gopher-lua/table.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gopher-lua/table.go b/internal/gopher-lua/table.go index ddceb4e875..913fc3999a 100644 --- a/internal/gopher-lua/table.go +++ b/internal/gopher-lua/table.go @@ -62,7 +62,7 @@ func (tb *LTable) Len() int { return 0 } -// RaiseIfReadonly should be called from code on the path between the lua script and the table operation to ensure that +// RaiseIfReadOnly should be called from code on the path between the lua script and the table operation to ensure that // the given table is writable func (tb *LTable) RaiseIfReadOnly(L *LState) { if tb.ReadOnly { @@ -312,7 +312,7 @@ func (tb *LTable) RawGetInt(key int) LValue { return tb.array[index] } -// RawGet returns an LValue associated with a given key without __index metamethod. +// RawGetH returns an LValue associated with a given key without __index metamethod. func (tb *LTable) RawGetH(key LValue) LValue { if s, sok := key.(LString); sok { if tb.strdict == nil {