diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2023-09-23 22:59:22 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2023-09-23 22:59:22 -0700 |
| commit | 8214471e2c3d3085829a126ca6e7de6bb9e70a03 (patch) | |
| tree | 1cf256cb8dda827ff8c89a0cac1dbeb00a688e57 /src/cli/args.zig | |
| parent | 9421bec3a1d17f4a8b63f5467f2d78f6e877545a (diff) | |
cli/list-fonts: dumb implementation
Diffstat (limited to 'src/cli/args.zig')
| -rw-r--r-- | src/cli/args.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/args.zig b/src/cli/args.zig index 0a326fe89..833914c88 100644 --- a/src/cli/args.zig +++ b/src/cli/args.zig @@ -55,7 +55,7 @@ pub fn parse(comptime T: type, alloc: Allocator, dst: *T, iter: anytype) !void { break :arena dst._arena.?.allocator(); } else fail: { // Note: this is... not safe... - var fail = std.testing.FailingAllocator.init(alloc, 0); + var fail = std.testing.FailingAllocator.init(alloc, .{}); break :fail fail.allocator(); }; errdefer if (arena_available and arena_owned) { |
