diff options
| author | Marc Tiehuis <marc@tiehu.is> | 2019-06-20 20:07:43 +1200 |
|---|---|---|
| committer | Marc Tiehuis <marc@tiehu.is> | 2019-06-21 20:11:15 +1200 |
| commit | 11526b6e9da75ac682e59fbc2a37a738b8a23d6f (patch) | |
| tree | 569edb8e4fc752b6486d049d36a6062854813343 /src/link.cpp | |
| parent | 381c6a38b145665a22440f7aa816f0ddd9b70ee5 (diff) | |
| download | zig-11526b6e9da75ac682e59fbc2a37a738b8a23d6f.tar.gz zig-11526b6e9da75ac682e59fbc2a37a738b8a23d6f.zip | |
breaking: Add positional, precision and width support to std.fmt
This removes the odd width and precision specifiers found and replacing
them with the more consistent api described in #1358.
Take the following example:
{1:5.9}
This refers to the first argument (0-indexed) in the argument list. It
will be printed with a minimum width of 5 and will have a precision of 9
(if applicable).
Not all types correctly use these parameters just yet. There are still
some missing gaps to fill in. Fill characters and alignment have yet to
be implemented.
Diffstat (limited to 'src/link.cpp')
0 files changed, 0 insertions, 0 deletions
