Software /
code /
prosody
Diff
util/array.lua @ 9528:1af7cc3b9747
util.array: Break long line
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 19 Oct 2018 13:31:00 +0100 |
parent | 9487:4e38121a349d |
child | 9529:6a1e7723208b |
line wrap: on
line diff
--- a/util/array.lua Sun Oct 21 14:45:22 2018 +0200 +++ b/util/array.lua Fri Oct 19 13:31:00 2018 +0100 @@ -19,7 +19,11 @@ local array = {}; local array_base = {}; local array_methods = {}; -local array_mt = { __index = array_methods, __name = "array", __tostring = function (self) return "{"..self:concat(", ").."}"; end }; +local array_mt = { + __index = array_methods; + __name = "array"; + __tostring = function (self) return "{"..self:concat(", ").."}"; end; +}; function array_mt:__freeze() return self; end