mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-21 23:03:44 +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}
|
||||
|
||||
-- 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 insert(self, word, value, overwrite)
|
||||
|
Loading…
Reference in New Issue
Block a user