diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-06-26 15:21:27 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-06-27 12:54:31 +0300 |
| commit | f398ac3ee48b35754f51f0bfaff76b6a1e70da77 (patch) | |
| tree | 4136cd37830bba4f946c8a121ba4e5ed2eba74ab /lib/std/atomic/queue.zig | |
| parent | ef56e42a2a69e85d185257c5bd0b3f12532f2f5d (diff) | |
| download | zig-f398ac3ee48b35754f51f0bfaff76b6a1e70da77.tar.gz zig-f398ac3ee48b35754f51f0bfaff76b6a1e70da77.zip | |
std/fmt: add fmtDurationSigned
When working with durations it often makes sense to use signed integers
and allow negative durations, and there is currently no nice way to
format these in std.fmt. This patch adds a simple wrapper for the
existing fmtDurtion to fit this need.
Diffstat (limited to 'lib/std/atomic/queue.zig')
0 files changed, 0 insertions, 0 deletions
