aboutsummaryrefslogtreecommitdiff
path: root/lib/std/pdb.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-02-18 09:02:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-02-18 19:17:21 -0700
commitaeaef8c0ffadab4145fd002f2edd87a6db66ebd1 (patch)
treee4c76c76173e5e72bc1947e1886662c4c6b2ba3c /lib/std/pdb.zig
parentf0530385b57218ef323747bdb7438330a07d25cc (diff)
downloadzig-aeaef8c0ffadab4145fd002f2edd87a6db66ebd1.tar.gz
zig-aeaef8c0ffadab4145fd002f2edd87a6db66ebd1.zip
update std lib and compiler sources to new for loop syntax
Diffstat (limited to 'lib/std/pdb.zig')
-rw-r--r--lib/std/pdb.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/pdb.zig b/lib/std/pdb.zig
index 287b65b59d..fdd162a34f 100644
--- a/lib/std/pdb.zig
+++ b/lib/std/pdb.zig
@@ -922,7 +922,7 @@ const Msf = struct {
}
const streams = try allocator.alloc(MsfStream, stream_count);
- for (streams) |*stream, i| {
+ for (streams, 0..) |*stream, i| {
const size = stream_sizes[i];
if (size == 0) {
stream.* = MsfStream{