aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-02-13 11:37:30 -0500
committerGitHub <noreply@github.com>2021-02-13 11:37:30 -0500
commit6c53364b38e2f729186be5dbaf431ab1aafbee73 (patch)
treee4fa6bee8ba340dfc78524a6006fdd72bc481cda /exercises
parent5505569980173b6180b2954b96e8d11e129dd985 (diff)
parent0788198de3e8498e9c6176be6d1b6f0e6f5dfbd4 (diff)
Merge pull request #11 from tijb/patch-2
Update 04_arrays.zig | Array Index
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:
//