diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-02-18 09:02:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-02-18 19:17:21 -0700 |
| commit | aeaef8c0ffadab4145fd002f2edd87a6db66ebd1 (patch) | |
| tree | e4c76c76173e5e72bc1947e1886662c4c6b2ba3c /lib/std/crypto/sha1.zig | |
| parent | f0530385b57218ef323747bdb7438330a07d25cc (diff) | |
| download | zig-aeaef8c0ffadab4145fd002f2edd87a6db66ebd1.tar.gz zig-aeaef8c0ffadab4145fd002f2edd87a6db66ebd1.zip | |
update std lib and compiler sources to new for loop syntax
Diffstat (limited to 'lib/std/crypto/sha1.zig')
| -rw-r--r-- | lib/std/crypto/sha1.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/crypto/sha1.zig b/lib/std/crypto/sha1.zig index 99289e35c4..4d11b04eb5 100644 --- a/lib/std/crypto/sha1.zig +++ b/lib/std/crypto/sha1.zig @@ -105,7 +105,7 @@ pub const Sha1 = struct { d.round(d.buf[0..]); - for (d.s) |s, j| { + for (d.s, 0..) |s, j| { mem.writeIntBig(u32, out[4 * j ..][0..4], s); } } |
