diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-08 18:05:26 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-08 18:05:26 +0530 |
| commit | 2a09c2c564a30af8a1bedf371a0ff6621e7f6300 (patch) | |
| tree | 7375de8fdb1094effc293386158785ba6f264e10 | |
| parent | 06fb3b482545f11f5b3c40d80a080937afdf92e9 (diff) | |
These need not be annotated as nodiscard.
| -rw-r--r-- | elf/fmt.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/fmt.lua b/elf/fmt.lua index 15b344e..caed8ae 100644 --- a/elf/fmt.lua +++ b/elf/fmt.lua @@ -4,7 +4,6 @@ local M = {} ---@param endian Endian ---@return string ----@nodiscard function M.endian(endian) assert(endian == ec.Endian.big or endian == ec.Endian.little) return (endian == ec.Endian.big) and ">" or "<" @@ -12,7 +11,6 @@ end ---@param class Class ---@return string ----@nodiscard function M.word(class) assert(class == ec.Class.bit64 or class == ec.Class.bit32) return (class == ec.Class.bit64) and "I8" or "I4" |
