aboutsummaryrefslogtreecommitdiff
path: root/exercises/04_arrays.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-02-14 10:50:03 -0500
committerDave Gauer <dave@ratfactor.com>2021-02-14 10:50:03 -0500
commit93050efc73e26be85334d941bdc14d19d58df1ca (patch)
tree779373337f1f56e24709cbb89a597bb0ff3d6838 /exercises/04_arrays.zig
parentacaf051e4cad70f17e48cd595f7908dfdb2914d6 (diff)
parent74a1d3bc43a4d2e6f82e42ee58f49293a5ea3f30 (diff)
downloadziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.gz
ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.bz2
ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.tar.xz
ziglings-93050efc73e26be85334d941bdc14d19d58df1ca.zip
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/04_arrays.zig')
-rw-r--r--exercises/04_arrays.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/04_arrays.zig b/exercises/04_arrays.zig
index b8eeb9d..c1e9fd9 100644
--- a/exercises/04_arrays.zig
+++ b/exercises/04_arrays.zig
@@ -1,7 +1,7 @@
//
// Let's learn some array basics. Arrays are declared with:
//
-// var foo [3]u32 = [3]u32{ 42, 108, 5423 };
+// var foo: [3]u32 = [3]u32{ 42, 108, 5423 };
//
// When Zig can infer the size of the array, you can use '_' for the
// size. You can also let Zig infer the type of the value so the