diff options
author | Ivan-Velickovic <10481259+Ivan-Velickovic@users.noreply.github.com> | 2021-02-14 15:42:42 +1300 |
---|---|---|
committer | Ivan-Velickovic <10481259+Ivan-Velickovic@users.noreply.github.com> | 2021-02-14 15:42:42 +1300 |
commit | cfcb1f3a448280559d6d172f77a5ef158d87c038 (patch) | |
tree | ddeb1ae5683aad7e0f1da361a298dd35a4634b05 /exercises | |
parent | 7aca9045637c06a0db3fa2c3f825743983a7e84d (diff) | |
download | ziglings-cfcb1f3a448280559d6d172f77a5ef158d87c038.tar.gz ziglings-cfcb1f3a448280559d6d172f77a5ef158d87c038.tar.bz2 ziglings-cfcb1f3a448280559d6d172f77a5ef158d87c038.tar.xz ziglings-cfcb1f3a448280559d6d172f77a5ef158d87c038.zip |
04_arrays.zig - missing : for type of example array
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/04_arrays.zig | 2 |
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 |