mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 07:13:45 +01:00
Trie: Remove TODO comment
This commit is contained in:
parent
597666f3e3
commit
756867495f
2
trie.lua
2
trie.lua
@ -7,6 +7,8 @@ setfenv(1, _ENV)
|
|||||||
|
|
||||||
local metatable = {__index = _ENV}
|
local metatable = {__index = _ENV}
|
||||||
|
|
||||||
|
-- Setting the metatable is fine as it does not contain single-character keys.
|
||||||
|
-- TODO (?) encapsulate in "root" field for better code quality?
|
||||||
function new(table) return setmetatable(table or {}, metatable) end
|
function new(table) return setmetatable(table or {}, metatable) end
|
||||||
|
|
||||||
function insert(self, word, value, overwrite)
|
function insert(self, word, value, overwrite)
|
||||||
|
Loading…
Reference in New Issue
Block a user