std.ArrayList: make unmanaged the default

This commit is contained in:
Andrew Kelley
2025-07-31 21:54:07 -07:00
parent d625158354
commit 749f10af49
161 changed files with 861 additions and 870 deletions

View File

@@ -4,14 +4,14 @@ const BitStack = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const ArrayList = std.ArrayList;
const ArrayList = std.array_list.Managed;
bytes: std.ArrayList(u8),
bytes: std.array_list.Managed(u8),
bit_len: usize = 0,
pub fn init(allocator: Allocator) @This() {
return .{
.bytes = std.ArrayList(u8).init(allocator),
.bytes = std.array_list.Managed(u8).init(allocator),
};
}