summaryrefslogtreecommitdiff
path: root/exercises/005_arrays2.zig
diff options
context:
space:
mode:
authorNick Grimshaw <nick@inviga.co.uk>2026-05-18 17:38:04 +0100
committerNick Grimshaw <nick@inviga.co.uk>2026-05-18 17:38:04 +0100
commite96ce4da8e28951afe5464edc829de847ad0a95a (patch)
treed28fded4b087ad1e3eab8fe5b443b1d7aae6d389 /exercises/005_arrays2.zig
parentdde51b3126b0f9cfbbf5d1ec49fd19ad37dd5a5f (diff)
Minor grammar fix to comment in `005_arrays2`
Diffstat (limited to 'exercises/005_arrays2.zig')
-rw-r--r--exercises/005_arrays2.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/005_arrays2.zig b/exercises/005_arrays2.zig
index fdbb505..07b9abe 100644
--- a/exercises/005_arrays2.zig
+++ b/exercises/005_arrays2.zig
@@ -1,5 +1,5 @@
//
-// Zig has one array operators.
+// Zig has one array operator.
//
// You can use '++' to concatenate two arrays:
//
@@ -7,7 +7,7 @@
// const b = [_]u8{ 3,4 };
// const c = a ++ b ++ [_]u8{ 5 }; // equals 1 2 3 4 5
//
-// Note that '++'' only operate on arrays while your program is
+// Note that '++' only operates on arrays while your program is
// _being compiled_. This special time is known in Zig
// parlance as "comptime" and we'll learn plenty more about that
// later.