Replace deprecated ArrayListUnmanaged with ArrayList

std.ArrayListUnmanaged is now std.ArrayList in Zig 0.15.
The old managed ArrayList is deprecated as std.array_list.Managed.
This commit is contained in:
2026-01-22 12:45:49 +05:30
parent 0f2f19f9b1
commit ca573f3166
6 changed files with 49 additions and 49 deletions

View File

@@ -29,7 +29,7 @@ pub fn compileDoc(allocator: std.mem.Allocator, name: []const u8, doc: ast.Docum
const Compiler = struct {
alloc: std.mem.Allocator,
out: std.ArrayListUnmanaged(u8),
out: std.ArrayList(u8),
depth: u8,
fn init(allocator: std.mem.Allocator) Compiler {