aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process
diff options
context:
space:
mode:
authorA cursed quail <quail@cursedquail.com>2025-07-26 10:32:17 -0500
committerAndrew Kelley <andrew@ziglang.org>2025-07-26 21:53:23 -0700
commite12dc4947c411d25c4c56d887e62d0e2b9addcb8 (patch)
treee73d52a1bac71cbaa710951f6c04caa3dde4e457 /lib/std/process
parent04614d6ea17fff69ead42223c35a257da25462de (diff)
downloadzig-e12dc4947c411d25c4c56d887e62d0e2b9addcb8.tar.gz
zig-e12dc4947c411d25c4c56d887e62d0e2b9addcb8.zip
std.zig: fmtId returns a FormatId
Changes fmtId to return the FormatId type directly, and renames the FormatId.render function to FormatId.format, so it can be used in a format expression directly. Why? Since `render` is private, you can't create functions that wrap `fmtId` or `fmtIdFlags`, since you can't name the return type of those functions outside of std itself. The current setup _might_ be intentional? In which case I can live with it, but I figured I'd make a small contrib to upstream zig :)
Diffstat (limited to 'lib/std/process')
0 files changed, 0 insertions, 0 deletions