std.fmt.fmtIntSizeDec() and fmtIntSizeBin() do not consider FormatOptions #9184
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
standard library
This issue involves writing Zig code for the standard library.
Milestone
Ultimately
formatSizeImpl()
is used to implementfmtIntSizeDec()
orfmtIntSizeBin()
and it does not consider FormatOptions and probably should.motivating example (from @espindola via IRC):
@andrewrk you mentioned in IRC:
There is a pattern in
std.fmt
where allpub fn fmt*()
functions return aFormatter()
object; a grep follows. Do you want these renamed likefmtFirstSecond()
→firstSecond()
?The text was updated successfully, but these errors were encountered: