small iterator tweak

This commit is contained in:
Karl Seguin
2025-02-09 10:54:35 +08:00
parent 3af0531111
commit 2aa5f4fc82

View File

@@ -24,7 +24,7 @@ pub const U32Iterator = struct {
};
}
self.index += 1;
self.index = i + 1;
return .{
.value = i,
.done = false,