diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-05-18 19:49:52 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-05-18 19:49:52 +0200 |
| commit | 6b8bbfd980a2519c9cba1f3ef9839a6971cb2231 (patch) | |
| tree | d28fded4b087ad1e3eab8fe5b443b1d7aae6d389 /exercises | |
| parent | dde51b3126b0f9cfbbf5d1ec49fd19ad37dd5a5f (diff) | |
| parent | e96ce4da8e28951afe5464edc829de847ad0a95a (diff) | |
Merge pull request 'Minor grammar fix to comment in `005_arrays2`' (#426) from nickgrim/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/426
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/005_arrays2.zig | 4 |
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. |
