From cfcb1f3a448280559d6d172f77a5ef158d87c038 Mon Sep 17 00:00:00 2001 From: Ivan-Velickovic <10481259+Ivan-Velickovic@users.noreply.github.com> Date: Sun, 14 Feb 2021 15:42:42 +1300 Subject: 04_arrays.zig - missing : for type of example array --- exercises/04_arrays.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises') 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 -- cgit v1.2.3-ZIG