small iterator tweak

This commit is contained in:
Karl Seguin committed 2025-02-09 11:04:21 +08:00
1 parent 3af0531111
commit 2aa5f4fc82
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ pub const U32Iterator = struct {
};
}
self.index += 1;
self.index = i + 1;
return .{
.value = i,
.done = false,