Software /
code /
prosody
Changeset
9528:1af7cc3b9747
util.array: Break long line
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 19 Oct 2018 13:31:00 +0100 |
parents | 9527:ced174f29d9a |
children | 9529:6a1e7723208b |
files | util/array.lua |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
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