ReviewOS

also looking at this

zig-utils/zig-regex

Migrate to zig 0.16

#5
Closed illya-laifu wants to merge zig-0.16-migrations into main
13 files +222 -239
src/builder.zigmodified+2-2
Changes to src/builder.zig
@@ -29,7 +29,7 @@ pub const Builder = struct {
2929 pub fn init(allocator: std.mem.Allocator) Builder {
3030 return .{
3131 .allocator = allocator,
32 .parts = std.ArrayList([]const u8){},
32 .parts = .empty,
3333 };
3434 }
3535
@@ -304,7 +304,7 @@ pub const Composer = struct {
304304 pub fn init(allocator: std.mem.Allocator) Composer {
305305 return .{
306306 .allocator = allocator,
307 .patterns = std.ArrayList([]const u8){},
307 .patterns = .empty,
308308 };
309309 }
310310