We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4c8e8c + a8c5087 commit 7741de7Copy full SHA for 7741de7
src/browser/dom/html_collection.zig
@@ -281,8 +281,8 @@ pub const HTMLCollection = struct {
281
include_root: bool = false,
282
283
// save a state for the collection to improve the _item speed.
284
- cur_idx: ?u32 = undefined,
285
- cur_node: ?*parser.Node = undefined,
+ cur_idx: ?u32 = null,
+ cur_node: ?*parser.Node = null,
286
287
// start returns the first node to walk on.
288
fn start(self: *const HTMLCollection) !?*parser.Node {
0 commit comments