summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/04_arrays.zig
diff options
context:
space:
mode:
authorIvan-Velickovic <10481259+Ivan-Velickovic@users.noreply.github.com>2021-02-14 15:42:42 +1300
committerIvan-Velickovic <10481259+Ivan-Velickovic@users.noreply.github.com>2021-02-14 15:42:42 +1300
commitd3d349969273e7d1faae7557bbfc75f56322c203 (patch)
treeddeb1ae5683aad7e0f1da361a298dd35a4634b05 /exercises/04_arrays.zig
parent96cb465fb855106d92d391e35923478abecd6098 (diff)
04_arrays.zig - missing : for type of example array
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