mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.ArrayList: make unmanaged the default
This commit is contained in:
@@ -1826,7 +1826,7 @@ test "assign to slice.len of global variable" {
|
||||
|
||||
const S = struct {
|
||||
const allocator = std.testing.allocator;
|
||||
var list = std.ArrayList(u32).init(allocator);
|
||||
var list = std.array_list.Managed(u32).init(allocator);
|
||||
};
|
||||
|
||||
S.list.items.len = 0;
|
||||
|
||||
Reference in New Issue
Block a user