From 0fe0b0e92b4482109dd9783f5aaf7f2609a2d433 Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Tue, 10 Nov 2026 19:55:13 +0530 Subject: Let luafmt win. --- elf/section.lua | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'elf') diff --git a/elf/section.lua b/elf/section.lua index f7155ca..680ab8f 100644 --- a/elf/section.lua +++ b/elf/section.lua @@ -59,22 +59,14 @@ end ---@nodiscard function M.pack(section, endian, class) return string.pack(table.concat({ - fmt.endian(endian), - "I4I4", - string.rep(fmt.word(class), 4), - "I4I4", - string.rep(fmt.word(class), 2) - }), - section_index(section.name), - section.type, - section.flags, - section.addr, - section.offset, - section.size, - section.link, - section.info, - section.addralign, - section.entsize) + fmt.endian(endian), + "I4I4", + string.rep(fmt.word(class), 4), + "I4I4", + string.rep(fmt.word(class), 2), + }), section_index(section.name), section.type, section.flags, + section.addr, section.offset, section.size, section.link, section.info, + section.addralign, section.entsize) end return M -- cgit v1.3