diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 00:39:40 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-06-10 00:39:40 -0400 |
| commit | 39bc82561a778f14aca69929690e6cb225f79ed4 (patch) | |
| tree | c733cf0833a3cde7214ec337be8afd245712ce44 /std | |
| parent | af35b73b9929b9d7a698101190b6f0d27ce27542 (diff) | |
| download | zig-39bc82561a778f14aca69929690e6cb225f79ed4.tar.gz zig-39bc82561a778f14aca69929690e6cb225f79ed4.zip | |
fix array literal syntax
Diffstat (limited to 'std')
| -rw-r--r-- | std/rand.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/rand.zig b/std/rand.zig index ea56cb6d8d..e14a60e2ae 100644 --- a/std/rand.zig +++ b/std/rand.zig @@ -1011,7 +1011,7 @@ test "Sfc64 sequence" { // Unfortunately there does not seem to be an official test sequence. var r = Sfc64.init(0); - const seq = []const u64{ + const seq = [_]u64{ 0x3acfa029e3cc6041, 0xf5b6515bf2ee419c, 0x1259635894a29b61, |
