From 4f3c2774932c3148254c599959c996b077bf512b Mon Sep 17 00:00:00 2001 From: Brandon Blanker Lim-it Date: Sat, 28 Mar 2020 12:30:25 +0800 Subject: [PATCH] Fixed typo in table.clear --- table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.lua b/table.lua index 3115179..802f9a6 100644 --- a/table.lua +++ b/table.lua @@ -144,7 +144,7 @@ if _table.clear == nil then --useful when multiple references are floating around --so you cannot just pop a new table out of nowhere function _table.clear(t) - assert(type(to) == "table", "table.clear - argument 't' must be a table") + assert(type(t) == "table", "table.clear - argument 't' must be a table") local k = next(t) while k ~= nil do t[k] = nil