diff options
Diffstat (limited to 'lib/std/priority_dequeue.zig')
| -rw-r--r-- | lib/std/priority_dequeue.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/priority_dequeue.zig b/lib/std/priority_dequeue.zig index d710288105..db55be3804 100644 --- a/lib/std/priority_dequeue.zig +++ b/lib/std/priority_dequeue.zig @@ -430,7 +430,7 @@ pub fn PriorityDequeue(comptime T: type, comptime Context: type, comptime compar const print = std.debug.print; print("{{ ", .{}); print("items: ", .{}); - for (self.items) |e, i| { + for (self.items, 0..) |e, i| { if (i >= self.len) break; print("{}, ", .{e}); } |
