aboutsummaryrefslogtreecommitdiff
path: root/lib/std/atomic/queue.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-06-26 15:21:27 +0200
committerVeikka Tuominen <git@vexu.eu>2021-06-27 12:54:31 +0300
commitf398ac3ee48b35754f51f0bfaff76b6a1e70da77 (patch)
tree4136cd37830bba4f946c8a121ba4e5ed2eba74ab /lib/std/atomic/queue.zig
parentef56e42a2a69e85d185257c5bd0b3f12532f2f5d (diff)
downloadzig-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