summaryrefslogtreecommitdiff
path: root/exercises/114_packed.zig
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2026-06-06 17:39:42 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2026-06-06 17:39:42 +0200
commit72a441a6bdeb40c423807e047496f02b4511c4a5 (patch)
tree5be066f66847fa079d4823995195ec3873d70dbc /exercises/114_packed.zig
parent6aaf04893561140a1262c2dccf0736ef645352a4 (diff)
Improve command line style
Parse the command line following the code from the Zig compiler cli. Use the args iterator instead of slice, and use while instead of for loop. Use the new std.mem.cutPrefix instead of the custom function prefix. Move Context struct to the top.
Diffstat (limited to 'exercises/114_packed.zig')
0 files changed, 0 insertions, 0 deletions