my ziglings
0

Configure Feed

Select the types of activity you want to include in your feed.

Minor grammar fix to comment in `005_arrays2`

Nick Grimshaw (May 18, 2026, 5:38 PM +0100) e96ce4da dde51b31

+2 -2
+2 -2
exercises/005_arrays2.zig
··· 1 1 // 2 - // Zig has one array operators. 2 + // Zig has one array operator. 3 3 // 4 4 // You can use '++' to concatenate two arrays: 5 5 // ··· 7 7 // const b = [_]u8{ 3,4 }; 8 8 // const c = a ++ b ++ [_]u8{ 5 }; // equals 1 2 3 4 5 9 9 // 10 - // Note that '++'' only operate on arrays while your program is 10 + // Note that '++' only operates on arrays while your program is 11 11 // _being compiled_. This special time is known in Zig 12 12 // parlance as "comptime" and we'll learn plenty more about that 13 13 // later.