dom: nodelist: use unmanaged arraylist

This commit is contained in:
Pierre Tachoire
2023-12-15 13:51:55 +01:00
parent 923296426e
commit 3ea95982d6
4 changed files with 10 additions and 10 deletions

View File

@@ -200,7 +200,7 @@ pub const Node = struct {
var n = try parser.nodeFirstChild(self) orelse return list;
while (true) {
try list.append(n);
try list.append(alloc, n);
n = try parser.nodeNextSibling(n) orelse return list;
}
}