aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jq/saveable_stack.zig
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-03 15:25:50 +0900
committernsfisis <nsfisis@gmail.com>2026-05-03 15:25:50 +0900
commit9d802c755c22f8612b6933da99998e7ddae14886 (patch)
treecb7c0240734017de5d4a2b665eca52acfed2cf4d /src/jq/saveable_stack.zig
parente844e52aaf817a1e8426ce5d19e0b4d2f98dff32 (diff)
downloadzgjq-9d802c755c22f8612b6933da99998e7ddae14886.tar.gz
zgjq-9d802c755c22f8612b6933da99998e7ddae14886.tar.zst
zgjq-9d802c755c22f8612b6933da99998e7ddae14886.zip
update zig to 0.16
Diffstat (limited to 'src/jq/saveable_stack.zig')
-rw-r--r--src/jq/saveable_stack.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jq/saveable_stack.zig b/src/jq/saveable_stack.zig
index f3a0b40..6bf2c77 100644
--- a/src/jq/saveable_stack.zig
+++ b/src/jq/saveable_stack.zig
@@ -67,9 +67,9 @@ pub fn SaveableStack(comptime T: type) type {
pub fn init(allocator: std.mem.Allocator) !Self {
var stack = Self{
- .segments = .{},
+ .segments = .empty,
.active_segment_index = 0,
- .savepoints = .{},
+ .savepoints = .empty,
.allocator = allocator,
};