Format String Reference?
Ziggit
Format String Reference?
EDIT: Format strings are quite well-documented here What would be the best place to put a formatting specifier / formatting string reference? Right now I’m not aware of a good cheatsheet, which sometimes leads to me just trying something to see if it works (e.g., I only learned yesterday that {x} works on slices, not just numbers). zig.guide has an ok-ish list, but it doesn’t mention optionals, {any}, {t}, or bare {}, doesn’t mention that {x} can have precision specifiers, and IMO should be a ...
0 comments
No comments yet.