aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-02-13 20:36:15 -0500
committerDave Gauer <dave@ratfactor.com>2021-02-13 20:36:15 -0500
commit7aca9045637c06a0db3fa2c3f825743983a7e84d (patch)
tree3224e9428d923d0edfd447e2f371e77e5ae59a98 /exercises
parente92107f5fcbf42e061f46bb6f1334fd66d65df09 (diff)
parentf33d6983028e550ea22cc5b84b1d85efeed37ec9 (diff)
downloadziglings-7aca9045637c06a0db3fa2c3f825743983a7e84d.tar.gz
ziglings-7aca9045637c06a0db3fa2c3f825743983a7e84d.tar.bz2
ziglings-7aca9045637c06a0db3fa2c3f825743983a7e84d.tar.xz
ziglings-7aca9045637c06a0db3fa2c3f825743983a7e84d.zip
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises')
-rw-r--r--exercises/04_arrays.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/04_arrays.zig b/exercises/04_arrays.zig
index 0f4ffe1..b8eeb9d 100644
--- a/exercises/04_arrays.zig
+++ b/exercises/04_arrays.zig
@@ -11,11 +11,11 @@
//
// Get values of an array using array[index] notation:
//
-// const bar = foo[3]; // 5423
+// const bar = foo[2]; // 5423
//
// Set values of an array using array[index] notation:
//
-// foo[3] = 16;
+// foo[2] = 16;
//
// Get the length of an array using the len property:
//