aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-02-13 21:59:17 -0500
committerGitHub <noreply@github.com>2021-02-13 21:59:17 -0500
commit12fe55d2d837424dfa2d38dc29e747b80aa0b422 (patch)
treeddeb1ae5683aad7e0f1da361a298dd35a4634b05 /exercises
parent7aca9045637c06a0db3fa2c3f825743983a7e84d (diff)
parentcfcb1f3a448280559d6d172f77a5ef158d87c038 (diff)
downloadziglings-12fe55d2d837424dfa2d38dc29e747b80aa0b422.tar.gz
ziglings-12fe55d2d837424dfa2d38dc29e747b80aa0b422.tar.bz2
ziglings-12fe55d2d837424dfa2d38dc29e747b80aa0b422.tar.xz
ziglings-12fe55d2d837424dfa2d38dc29e747b80aa0b422.zip
Merge pull request #13 from Ivan-Velickovic/main
04_arrays.zig - missing ":" for type of example array
Diffstat (limited to 'exercises')
-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