aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-06-10 00:39:40 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-06-10 00:39:40 -0400
commit39bc82561a778f14aca69929690e6cb225f79ed4 (patch)
treec733cf0833a3cde7214ec337be8afd245712ce44 /std
parentaf35b73b9929b9d7a698101190b6f0d27ce27542 (diff)
downloadzig-39bc82561a778f14aca69929690e6cb225f79ed4.tar.gz
zig-39bc82561a778f14aca69929690e6cb225f79ed4.zip
fix array literal syntax
Diffstat (limited to 'std')
-rw-r--r--std/rand.zig2
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,