aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises/04_arrays.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/04_arrays.zig')
-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:
//